I have mentioned this before.
In terms of medication, go to a psychistrist, tell him your
depression and anxiety in public places, then request for:
Seroxat
Seroxat is an anti-depressant that lifts your mood. One tab is
20mg. Two tabs wld be 40mg. Taken daily, Seroxat wipes out your
urge to masterbate completely. I can attest to that n so can many
others. It inhibits sexual thoughts, making life simpler 4u. With
no urges, u can focus on the more impt things in life. Your
productivity will improve.
Caution: Seroxat can cause massive weight gain. If u don't like
this side effect, reduce to 20mg daily. U will still have urges but
they occur once a week or fortnight.