Being sick while pregnant isn't what hurts the baby, it's the high fever. If you're sick just make sure to keep your fever down if you have one. I had a bad cold with 2 out of my 4 kids while pregnant. They were perfectly fine. I've had a bad cold this past week and baby is still healthy as can be.
I got pneumonia and bronchitis a couple weeks before I had my son. I came in for my c section and after I had him they put me on breathing treatments every couple hours hes a happy healthy 2 year old.
I had Pneumonia while pregnant with my third. It stuck around for 2 months. Baby was fine but I suffered. I was given antibiotics that were safe and puffers for when I really needed them. I couldn't even read a book to my kids without having a coughing attack. I didn't gain weight for those two months, and had zero appetite. I had to force myself to eat most of the time. But he was born healthy. 🙂