Major cramps

I’m a 20 yr old female. I was wondering why do I get painful cramps when I masturbate????

Any advice is much appreciated! Thank you!