I want to share a technique that was very helpfull to me when I wanted to stop once and for all from masturbating. I commited to myself that every time I lose myself and do it I would give a substantial sum to tzedaka! After a while and working on being very determined I did it less and less often. Firstly, It was becoming very expensive, as I was keeping to my end of the deal and giving the tzedaka! I could'nt afford to do it! After a while this kept me in line and helped me to cool off a bit, and that allowed me to focus on strengthening my self control. Eventually, with tremendous help from above I was succesful. It is now almost 8 years later and I have thank G-d been in control of myself! It is very possible to do , dont let the wicked yetzer horah tell you otherwise. I was hooked to online porn and even just any visual stimualtion was enough to get me crazy. Plus unfortunately, I had been involved with guys too and that turn on made me crazy and made things double as hard to overecome!!
You can take control. It is exceedingly possible! I am living proof 8+ years in the making. I still live with the fear of messing up and I pray for help everyday. But my battle is from a different angle now. YOU CAN Do IT!! I have and you can too!