Uti while pregnant?

El

When I went in for my first prenatal visit, they tested my urine and told me I had a uti a week ago. I have no symptoms for it. Due to having severe morning sickness, I’ve been trying to take the antibiotics they gave me before bed so I’m not throwing them up. I’m 7weeks and 4 days today and will be having my first ultrasound next Tuesday. I’m just nervous about taking these things and want to know if anyone else has gone through this and everything turned out fine?

Thank you.