I've spoken to a therapist and given a lot of thought to the issue of watching porn and acting out.
In short, below are a few key points which you may wish to learn from;
It's representing a gap in our lives that need filling. Therefore, try to identify those gaps so that we can genuinely tackle the problem.
For me, sometimes it's about needing to channel a burst of energy (physical or sexual energy), eg by reading or listening to music, etc.
HALT:
Hunger, Anger, Loneliness or Tiredness
These are common situations that may present the problem, so aim try being aware of it.
Also consider this consequences of the problem, and how it will impact our lives in say 12 months time.
Finally, it takes enormous courage to admit to ourselves the gravity of the problem, ie to accept in order to 'let go' or tackle the issue. But here's the point, it takes absolute belief and commitment!
Determination isn't enough, I've learnt that, but consistency helps to 're wire' our brain (thought - behaviour relationship) to improve our thoughts, triggers and ultimately behave in a way that we can have dignity or self respect.
Always bounce back after a fall, show the resilience that's needed and never give up. But it takes huge effort, a lot of work on a daily basis. I'm now spending say 5-10 minutes a day (maybe more) thinking about what typically happens to me pre fall, during and after in terms of my thinking and ultimately my behaviour.