Try the Opposite
“What assistance can we find in the fight against habit? Try the opposite!” — Epictetus, Discourses, 1.27.4

If THIS (insert any specific behaviour, habit, routine) isn’t getting us the desired outcome, then rather than just focusing on breaking that habit, replace it with something completely different and incompatible.
If you bite your fingernails, start wearing gloves.