Why are you doing this to yourself?
Have you tried the rubberband trick - where you put a rubber band on your wrist and every time you think about him or say something unhealthy or negative to yourself, you snap yourself, hard.
I dunno. It worked for me. Behavior modication.