UTI and pregnancy

Carissa • Happily married to my high school sweetheart and a military man for 5 years! Due 1-30-16 with a baby girl.
I have a minor UTI and they put me on an antibiotic called Macrobid 100mg. I already have anxiety and hate taking any medicine/antibiotic. Anyone ever been on this antibiotic? Anyone have a UTI and can relate? Should I keep taking it? Is it safe like they say it is?