We cough as a reflex action to dislodge mucus or clear irritants such as dust or smoke from our airways. It is generally not a sign of anything serious.
Most coughs clear up within 3 weeks and don't require any treatment.
You should speak to a doctor if your cough lasts for more than 3 weeks, is particularly severe or you experience shortness of breath.