
I can’t say for certain what will work to help as each person is different but one of the most consistent ways is therapy. It’s not perfect but it does work for a lot of people. Another would be to just remove all your access to porn, it’s what I did to deal with it personally, I got an app that just prevented access to pornography. It’s not easy to overcome as any addiction is but it is possible to do.