A cough that happens once in a while is not a cause for concern. But a cough that lasts for a long time could be a sign of an underlying health problem.