9w 5 days and I have pneumonia

Mc
I got told I had pneumonia 2 days ago, I went to the er because I couldn't really breathe and I have a horrible cough. I got put on anti biotics, my question is, is this going to hurt the baby? Are the antibiotics going to hurt my baby? I'm really concerned. It feels like the only pregnancy symptom I'm having is sore breasts. I'm really worried.