6 weeks pregnant and cough pls help

Pavi

I have got severe cough. Coughing day n night. 6 weeks pregnant. I have achy hips n lower ab from coughing and straining. Will it cause any harm to the pregnancy???