25 weeks with a Cold & Cough

First time being sick while pregnant. I’ve taken no meds and I now have a cough. Is the baby harmed when I’m in a coughing fit? Is the baby getting harmed by me being sick?