IUD and cramping

As

I recently got the iud (Mirena) on Friday and then started my period Saturday. The cramps have been soo bad, and go through waves of intensity. I was wondering if this is from having both my period and the iud or what’s going on? How long did cramping last when you got the iud and how intense?? Any ways to relieve the pain, it’s inhibiting pain.