Hi.. You probably may not having a cancer, but I do agree that you may be having an infection.. And the type of infection can only be diagnosed by a smear/culture test on the sputum.. Thie sputum test is advisable.. You may antibiotics for treatment if necessary, in the mean time, steam inhalation and expectorant syrups are helpful...