A cough that happens once in a while is not a cause for concern. Most coughs last no more than 2 to 3 weeks. But you should contact your health care provider right away if you have a cough that lasts for several weeks.