This is your problem you conflate your problems to something that don't exist
Ask why did feeling /intention to watch porn arise?
One might say feeling of lust overcame me but why did that feeling arise? And if lust leads to porn what other method exists to prevent lust or have it funneled to something else.
The regret makes it worse though more negative feelings the more desire to distract from it. Realize there was cause , effect and think of a method to prevent it from happening instead of wallowing in misery that "self" was incapable of "self control"