if i have a uti pregnant will the doctor make me stay home from work?

Just wondering if its recommend?! I can't go into the doctor until Thursday or maybe Friday. Can that hurt the baby in any way?