Uti......and is it safe to take AZO pill?

Felicia
Hi, so I normally get bad UTI's and this is my first pregnancy and I am 12w3days now. I am just wondering if it is ok to take AZO pills to help with the pain.