No porn is simpler. Block all sites on the router level, or if you're lazy, use an extension to do it. That will only keep away going to porn sites impulsively, and it will be an alarm to realize what you were trying to do. You have to have some discipline, but it was quite easy for me.
Carnivore diet has cut my sexual desire down to almost nothing. I masturbate only a couple times per week now without trying much to stop myself.