I'm pregnant ,I've been coughing 3 weeks now. it's a cough that won't go away what should I do?

Im 28 weeks pregnant and ive had this cough for three wees now. It started out as the common cold with mucus but now its just a cough that will not go ?away. What should I do?

I had a similar problem but was producing alot of phlem and mucus. It turned out I had brohncitus. I would say if you still have it and being pregnant to go to the Dr’s I also found drinking lots of water and hot drinks helped with bringing up the phlem easier. Good luck and Congrats.