Cramps after sex

Julia
The past few weeks I've been getting pretty bad cramps for a few minutes after sex. It feels just like when I'm on my period, but for only a short period of time. I've been having sex with the same person for four years and this only recently started. Has anyone else experienced this? I'm not sure if it's major enough to see a doctor about, but it's pretty annoying.