This year has been my first real attempt at going for a 90-day hard mode challenge. I've failed and reset several times, but I'm keeping a journal and trying to learn from my failures and mistakes. But one hurdle I haven't been able to overcome is simply thinking about sexual things, especially in bed when I'm trying to fall asleep. My bed was the most common location for masturbation when I was growing up, so the consistent environment is leading my brain down old paths. More so, I have hundreds of "clips" from all the porn I've seen now floating in my memory, and those easily resurface when I'm settling down to sleep. Those remembered porn clips turn into fantasizing, and soon I am erect and any movement / body contact down there contributes to a sexually pleasant feeling. Which makes me feel like I'm masturbating even without my hands reaching down. I don't want to break an "M" streak this way, but it feels like cheating if I don't recognize that, since the situation does provide penile stimulation. So, I am looking for ways to avoid or cancel sexual thoughts while falling asleep. Fantasies and memories of the porn I previously watched arise without me currently wanting them to, and I don't know how to stop that.