Uti and pregnant

I'm currently according to glow I'm 8 weeks and 5 days, I had some slight spotting 3 days ago, but didn't pay any mind to it. So, today it got worse and I decided to see the doctor. They told me I have a mild uti infection and put me on bed rest till my ultrasound, which is wensday. Not cramping or clotting. They put me on macro in and I wanted to know if it is safe? The hospital I went to I don't trust them. They are called the "Found Dead" for a reason. 😂😂😂😂😂😂😂😂