Cramping after sex

Starting cramping right after sex and he didn't pull out. I couldn't even walk or sit down these pains were similar to labor pains. Anyone had this problem or know what it could be? I googled it