Being process driven is better than goal orientated. Meaning if you believe that PMO is bad for you then the success is trying to work towards that. Failure is all part of the process. The key to learning from the relapse is to really and honestly think about why it happened so you know what to expect when that set of circumstances arises in the future. I have been on this journey for 5 years and it is only the last 6 months that I have really started to getting to know myself and why I behave in certain ways. It has been difficult but also incredibly rewarding process.
I strongly advise mindfulness practice to improve your personal observation skills - if we are buried in our sexualised thoughts, we are unable to see them for what they are, which is just thoughts which can cause or have been caused by feelings, which can change behaviour. By being able to observe them, you can say - -"Oh look, my mind is thinking of porn again, I am trying to avoid that at the moment because I want to break my PMO habit so I won't be following that thought even though I know it would give me short term pleasure.I am going to do XYZ instead which is working towards the person I want to be rather than away from it." Compare that to " I want to watch porn, but I shouldn't, but I feel I need to, I am really struggling to change, this is so hard,it wont go away, I need to get rid of this craving, this uncomfortable feeling, just one more time and then I will stop, that will be it, never again, ....oh no, I feel so bad now, I will never be able to stop. "
By accepting the process will be uncomfortable you take away the main power of the addiction. The reason most people use is to get rid of some discomfort whether it be tiredness, anxiety, low mood, hunger, boredom, illness... it could be anything. By accepting the discomfort, you depower the addiction and can address the underlying cause, rather than just use unhelpful avoidance strategies to self sooth.
I know this is all easier said than done. Keep reading and researching, and be clear on why you want to change. What sort of a person do you want to be?