smelly pee

A
Every now and then with mirena iud my pee will smell really bad and sting a little bit when I urinate. It will go away after a couple days and then come back a month or so later. What could it be?