Coughing helps clear the throat and expels foreign particles forcefully that block the air passage. Generally, prolonged coughing resolves on its own, but if it lasts for more than two months, and has other symptoms such as bloody sputum, chest pain, etc. one should immediately seek a doctor’s help as these symptoms may indicate the presence of cancer.