I am 23 weeks pregnant and started having bleeding I

Patient: I am 23 weeks pregnant and started having bleeding I found out that I have a bladder infection.will the antibiotics harm the baby?

Doctor: