My personal experience and opinion is that the solution is multi-faceted. I myself am a Christian and so whatever I do it begins with God and the wisdom of the Bible. However I also have found wisdom with value in the secular world. Right now, today is my 40th day in my reboot, I had previously succeeded in rebooting and going 128 days before sucumbing to temptation and getting lost in the cycle for 2 years before returning. In those 2 years I made several other efforts, but never made it more than 2 weeks tops. The first part of what happened to me for when I crashed after 128 days was I changed what I was doing. The second part was I didn't fully understand what or why I was turning to PMO anyway.
What I've come to understand about myself is that PMO isn't my core problem, my core problem is, "Escapism" and PMO was just one of many bad habits I used to escape. Once I understood what I was doing I took the steps to eliminate ALL the routes of escape I had built. In the list of escapes I had were: PMO, Video games, Youtube videos, Day Dreaming, pointless endless web searches and social media. So even when I was 128 days free of PMO I was still using those other things to take its place, I hadn't realized what I was doing.
So now I've installed an image blocker called, "Pluckeye" that makes viewing any images or videos as near to impossible as not having the internet at all, as you can get. I've further tuned my Pluckeye to only allow me access to work related sites and bill paying, the rest of the web is blocked out. I did away with all my social media accounts & message boards I frequented, deleted my video games and all the other avenues I've identified as escapes. I now have loads more free time and instead of wasting it I'm reno'ing an old house.
To answer your question more directly I think first you have to want to be done with porn, if its not something you want to take care of, you'll never quite no matter how you approach it. I think an atheist can eliminate porn from their life without seeking God, but I believe it will be much harder, but that's my opinion. Honest self examination is the place to start. Then you have to understand that half measures will never work. Meaning if you think you can have a little porn every now and then and it be ok, your a fool and the science bares this out. Quitting Porn is all or nothing and it goes hand in hand with masturbation, PMO. Those 2 things are so intermingled that it pointless to try and quit one and not the other.
The method depends on you, its the rules and facts that are immutable. Why do you use porn? Is it a part of a bigger issue? Do you want to quit? Once you answer those questions and you understand that this is a YES or NO situation, you can put together a strategy that suits your life style, but you have to be honest with yourself and stick to your plan. You will fail, but as you learn your weakness and strengthen those areas in your defenses you will get stronger. The more you are willing to sacrifice and can live without, the better and quicker your success can be. The more opportunities you leave lying around the harder and longer it will be. I know a guy so dedicated he threw his smart phone in the ocean. Some get rid of any and all devices. You choose, a long drawn out battle or a short skirmish that can change your life forever. I can't say yet if this problem will always be something we deal with, but I havent seen anyone yet who went a year clean and fell, most relapses are early or at the most 6 months out. After that there doesn't seem to be anybody needing "Do overs".
That's my take, my experience thus far. Be honest, take ALL necessary steps and begin the rest of your life. Feel free to PM me if you like.
Later, Dude