Cough lasting for a month that too associated with sputum needs to be evaluated in detail by clinical examination, x ray of chest, CT thorax, sputum examination etc. Treatment depends on identifying cause for your problem
Next Steps
Consult nearby pulmonologist for confirmation of diagnosis and appropriate treatment if required