Please visit your pediatrician for examination and investigation like xvray chest need to be done, CBC
CRP,
LFT RFT needs to be done once to rule out any serious internal issues. Cough,cold should not go so long. Whether child needs nebulisation or child having overfeeding leading GERD like condition leading to cough needs to be investigated thoroughly.
Next Steps
please consult a good pediatrician again