Dear Sarah! Welcome to HealthcareMagic!
Now you are in 5th month of pregnancy
. It is strange that you are having UTI for 4 months which means-- you might had drugs for most part of pregnancy till now. But good thing is that early part of pregnancy is over; the early part, mainly Ist trimester, is risky. Later on, many drugs can be given, & treating gynecologist is the best guide. My only advice to you is to follow his/her advice, & maintain adequate hydration for a proper urine flow. Good luck.