Sick at 25 weeks Help🤢🤧

Sofia
I've posted about being sick a couple days ago, but i have a pretty bad cough will the coughing affect my baby? It's kinda starting to hurt, coughing so much. I haven't taken anything yet but i will if i absolutely need to. My doctor today said her heart beat sounded good.