Only the same advice I have for breaking chemical addictions: just stop already. I don't buy into the idea that any addiction is a disease or that people are powerless over their addictions. I think it's incredibly disempowering, deflects personal responsibility to an unhealthy degree, and does nothing to solve the problem. I don't make light of this; I know how hard it is to stop bad habits, especially if part of the appeal of that bad habit is escaping other problems. At the end of the day, though, you need to choose to stop. One of the other incredibly dangerous ideas to come out of programs like AA is that you have to stop bad habits completely, and that any "slip up" is a personal failing. Moderation is a lot healthier than the guilt and shame these programs try to make people feel for "failing".
I don't have any actual advice for you. Some people swear by cognitive behavioral therapy. I prefer to manage my various negative tendencies myself. Sometimes the pendulum swings too far and I pay a price, and that tends to bring me back to a state of equilibrium.