Pelvic infection from IUD

I got an iud 2 and 1/2 weeks ago. The first 2 days i cramped and was bloaty but suddenly it kind of started up again and I was told they were signs of pelvic infection. My period is in less than a week so I'm just trying to get an opiniom