Pain during masturbation?

nikki

Hello I kinda feel awkward asking but I've noticed that while on my period masturbating and orgasming makes my cramps worse. What should I do? What could cause this?