Uti pregnancy

How long can you have a uti before it causes harm to the baby?

Currently 8 weeks pregnant

And have had a uti for a week untreated.

Haven’t had the chance to go to the doctors.