Your physician should evaluate this with history, physical and maybe an ultrasound.
Is the cramping new? If so, you may be growing a fibroid or polyp. If you have always had it, it may be the uterine contraction that can be part of orgasm. Usually with endometriosis, pain occurs during sex, not after.
Would you like to video or text chat with me?