Seriously, who wouldn’t want to temporarily relieve period cramps without chasing your Advil with more Advil? Jackie Stone, one of Maven Clinic’s on-staff OB-GYNs, masturbating during your period can actually help alleviate cramps.“Orgasms in general decrease pain levels through the release of oxytocin and endorphins.And when you say "the sexual thoughts" are they normal sexual thoughts, or is the idea of feeling sexual making you feel evil/ bad etc ? When your in the bath it's normal to have a bigger urge to masturbate.because of what happened last time with the family member? Also it's just the ocd that's turning normal thoughts about your family into sexual ones.The problem is that if you are trying to force that thought out of your brain at the time of masturbation, it's like someone asking you to not think about a pink elephant. The trick is to accept it for what it is and just realise that you are a good person and these thoughts are just the ocd playing up.The reality is that you wouldn't be on this forum if you were ok with these thoughts.
I know what a massive mess this can put you in, i'm going through the same thing now with pocd, it sucks!But do relax, its best that way, give it a chance and it will happen.