8w3d uti

I just got my urine results back and they told me I had a uti , this was about a week ago I didn’t even know I had one will the baby be okay ?

Ketones , and bacteria came back and they gave me macrobid antibiotics