Question

I have a really bat uti. I called and talked with my dr they said azo is fine as long as i dont take more than the recommended dose. I called cause i think i may be pregnant. I was gonna test tmw cause af will officially be late but should i wait til the azo is out of my system or will it not affect the test.