As long as you hold onto the thought(s) that is holding you back it does not matter what you do to change your behavior, you will always find another way of reverting back to that same behavior. The only way to stop the behavior is to let go of the thought and to do that, you must become aware of it.
How do you become aware of it? By gently by paying attention to your thoughts. This is not always easy because the very thoughts you are paying attention to will distract you from your intention. When this happens, you simply bring yourself back to the moment and start watching your thoughts again.