Many people struggle with urges to PMO, while doing the NoFap war. I'd like to suggest a technique that helped me, called urge surfing.

It is a bit like mindfulness meditation, focused on the feeling of the urge. Examining it with curiosity, but not acting on it.

While there are many sources online that you can learn about urge surfing technique, I like this guided meditation on YouTube: