It could just be that the cough is lingering for a while and will go away with medication. In other cases, it could be a sign of some medical condition, the diagnosis of which is best given by a doctor.