Sex causing cramping?

My husband and I had unprotected sex about an hour ago and now I’m having cramping similar to what I felt in labor but obviously way less on the pain scale. I read this could be from the prostaglandins in sperm? We have unprotected sex often and I have never had this pain before.