Cold and chesty cough 19weeks.

I have had a cold and cough for 2 weeks now and the cough has turned very chesty it hurts so much when I cough and I can't stop. I have a lot of mucas on my chest is there anything I should do or should I go to doctors?