Advise please for UTI

Vickie
Hello Ladies. 
I've started with a UTI. Thankfully I had one of those AZO test kits at home. My worry is we are currently living in Indonesia where medical services aren't great. Can you please advise if you have had a UTI what antibiotics you were given that are safe for pregnancy? I am currently 18 weeks with our rainbow so as you can imagine I am frantic with worry. Any advise will be greatly received. Thank you in advance c