Abdominal Cramps during sex

Does anybody else have abdominal cramps during sex? Like a stabbing pain . If so, what do you do about it ? I’ve laid on the heating pad and still didn’t help. I got diagnosed with endometriosis about 6 years ago too.