Pain after sex?!

Makensey
So this may be a little TMI, but I've had my Mirena IUD since August. Today after having sex with my boyfriend, I'm nauseous and cramping. I'm also spotting and just got off of my period, so I know it's not that. I actually had to leave work I'm in so much pain. Anyone have any ideas on why?!