We are not motivated in a long term way by the negative or by threats of punishment. If the only goal is to stop viewing porn, this becomes a very negative and discouraging journey in which you are constantly faced with how much shame and guilt you feel. So I would propose shifting the goal to understanding on a much deeper level why you viewed porn, what wounds or life problems you were trying to deal with, and finding new ways of addressing these problems.
The Truth About Perfectionism: It Robs Us of Peace & Joy
If you have been feeling drained by your lack of productivity lately, or frozen by your fear of discovering that you can’t meet the standards you have set for yourself, then counseling might be a good option for you. It might feel like your perfectionism is the only thing keeping your life together right now, but I promise you it is actually holding you back and stealing peace from your life. There is another way to live, that allows for mistakes and weaknesses, that enables us to be known and loved for who we are instead of what we do.