Cramping after sex?

I’m 10 DPO and my husband and I had sex last night and immediately after i was cramping, it was so painful. I’ve never experienced that before, has anyone ever had the same thing happen before they got BFP?