6 weeks pregnant and coughing

I’m 6 weeks and two days, and I cannot for the life of me stop coughing. My first concern is, will my tiny, tiny baby be okay? I’m worried that the constant coughing will harm my baby. Second, any tips on how to get rid of this. I’ve had my humidifier on and slept elevated for a week but I still can’t shake this cough. I’ve had some mucus but not a lot. Anything would help!