Sort:  

It depends on how quickly you can spot the habit after you do it. The closer you get to spotting the habit before you do it, the closer you are to unlearning it.
Practicing to spot bad habits as quickly as possible is a good alternative to learn.