Meditation is how you regain control of your obsessive thoughts. When i started nofap, i would get triggered by seeing an attractive woman walking down the street, or accidentally watching a movie with nudity/sexy scene. My mind would start thinking sexual thoughts and get stuck on them for hours. Then i’d eventually get fed up with fighting the urges and relapse to get it over with...so my mind could move on to other stuff. But nowadays, even when i get triggered, i can “change the channel” in my head pretty quickly and not go down the spiral of obsessive thinking about sex, which eventually leads to relapse. I believe this is due to my meditation practice. It teaches you how to not chase your thoughts, but rather to let them float by and disappear. It takes a while to get the hang of it, but well worth the effort in my opinion. you can download free apps for your phone or tablet that can get you started. I recommend guided meditation in the beginning. This is where there’s somebody talking you through the meditation session. After a while you can start meditating on your own without guidance.