I attend a Christian recovery group called Celebrate Recovery. It's basically a bunch of people with problems led by a bunch of people that have overcome those problems... lol. I recommend it.
It's a completely non-judgemental group that follows the 12 steps but in a Christian format. Plenty of recovering alcohol, drug, sex/porn, and codependent addicts attend.
The whole porn/masterbation thing is very undesirable in my experience. People get so addicted they look at porn at work, then go home and masterbate to porn even staying up all night and then go to work and look at porn again. That's totally out of control. Stress, boredom, etc... are triggers for a lot of people. Even married people get addicted. If this is you friend, you need to get into a recovery group and start finding relief and sobriety from addiction.
If you're single, better to work on abstinence from all porn and sex with masterbation only as needed (careful because it fuels the fire) and start getting out there and meeting people in positive settings (not bars).