welcome to healthcare magic.
you are experiencing a bad cough
. for longstanding cough , TB should be excluded first.
specially if you are in indian subcontinent or third world country.Get a chest x ray
,sputum test for staining and culture.Also have a complete blood count
and MT for supporting evidence.
priblem may cause cough but TB is to be exclude with caution.