cramps after masturbating??

hi! i’m currently on the pill. whenever i masturbate, i experience cramps immediately after i orgasm and they last for about 10 seconds. has anyone else experienced this? is there anything i can do to stop this?? ps- i stopped taking the pill for 2 months and didn’t experience cramping after orgasming... orgasms should bring pleasure, not pain. thanks