Don't judge me but I have a fantastic lifehack.
I blocked all porn sites on my laptop a little while ago and COMPLETELY forgot how I did it.
Haven't watched porn in over a month now because I couldn't be bothered to unblock it.
Sometimes to quit bad habits you don't need much willpower, you just need to make them a little harder to do