Is it safe to please yourself a lot?

Jessa
I didn't know where else to ask this. I have been compulsively masturbating in the last few weeks. I have 4 or 5 orgasms a day. Is this safe for the baby? Or can the orgasms cause contractions and early labor? I've meant to ask my OB, but I keep forgetting during my appointments.