Its very very unlikely to have COPD at this age. Only one condition can cause COPD before 45 years i.e alpha1 anti trypsin deficiency, but that condition would have make you bedridden by this age.
Your cough can be due to asthma, eosinophilic bronchitis
, tropical pulmonary eosinophilia
, allergic rhinitis
I am advising you some test, complete blood count
with absolute eosinophil count, sputum examination( Gram's staining, acid fast bacilli, sputum eosinophilia), spirometry to detect asthma.
Meet the pulmonologist of your area and just relax, is it less likely for you to have COPD.