UTI and AZO

Javi • I am 20 and a mother of one 4 year old boy.

I have a Uti but I’m going to the doctor next week to get some prescriptions but I don’t want to keep feeling like o have to pee every minute and then burn while I pee so I got some Azo. But idk if I can take it while being on birth control, will it cancel out my birth control while taking the Azo pills or no? I have the an IUD Mirena, so should I be worrying about it canceling out my IUD or no?? I really need some answers please.