UTI in first trimester

Has anyone had a UTI in early pregnancy (I'm 6 weeks tomorrow) and still gone on to have a healthy pregnancy? I found out I had one after I miscarried earlier this year and now I am a mess. I'm absolutely petrified until I can get tested tomorrow and get antibiotics if that's what this is which I'm pretty sure it is.