What is an example of habit reversal therapy

Habit reversal therapy is a structured approach to breaking unwanted habits. For instance, someone who frequently bites their nails might learn to recognize the urge and replace it with a competing response, like squeezing a stress ball, fostering healthier behaviors.