I can tell you that I'm a 12-stepper and I follow a program for sex addicts that's similar to those for drug addicts or alcoholics. I dealt with compulsive masturbation and then graduated to having affairs, which finally lead me to look for answers.
Two resources I'd suggest are reading Patrick Carnes' book Out of the Shadows, which you can find under the bookstore link here. And here's a site that has information on it about the 12-step approach to the problem.
web page I also want to stress that I know many people don't like 12-step programs, and I respect their point of view. I'm not here to try to push anyone in any direction. Just telling you what has worked for me. If it's not for you, please disregard what I'm saying.
Take care.