Masturbate than stomach pain?

Lately I been masturbating and it’s been Making my lower stomach hurts bad It did it twice in a row . On top of that I’m having pain my left ovary , the first time I had this pain I had a cyst. Any suggests on what this could be before I take another trip too the ER