Bacterial infection? and mirena iud?!

Ar
So my OBGYN just called me saying that I have a bacterial infection, they did a Pap smear on me cause my cervix looked irritated and I haven't ever had one of these and I wanted to know could it be cause of my mirena iud? They called a prisceiption in for it to clear it up