This could be due to post-nasal drip which results in cough
associated w/throat irritation.
If your cough is lasting for more than 3 weeks or if short of breath, you should see your doctor for diagnosis and treatment. There are prescription nasal sprays that are very effective. And, if your cough is due to some other diagnosis, your doctor can treat you once the precise etiology is known.