Gdm 3hours screening

ts

Hi have to do 3 hours screening for diabetes because i failed 1hour test.so now I have to fast for 12hours.but currently I have an uti .so I am taking antibiotic.Can I take my medicine during fasting?