Guided meditation works wonders. It's a form of hypnosis, I think. Some people use this addiction as their way to medicate themselves when they are anxious, angry, bored, etc. Some people use alcohol, work, food, etc. But the calm peace, learning to live in the moment, is the single, most effective way to stay sober. When you're not worrying about the future, because you have Emunah in Hashem and you've made amends with your past, you cannot act out in your addiction. It's taking these past experiences and traumas which sometimes still haunt us, making peace with them and then getting on with the business of life. Learn mindfulness, learn meditation (Aryeh Kaplan's Jewish Meditation), learn how to live in the present moment and you will heal.
For more on Hypnosis and Meditation techniques see this page of our website.