Pneumonia sputum first need to anti-infection treatment for pneumonia, but also need to carry out the symptomatic treatment of phlegm. 1. Anti-infection treatment: pneumonia treatment first need to anti-infection, bacterial infection can use amoxicillin, levofloxacin, ticoranin, vancomycin and other antibiotics. Chlamydia and mycoplasma infections can use macrolide antibiotics, such as erythromycin and azithromycin. Influenza virus causing pneumonia can be treated with antiviral therapy such as oseltamivir. Fungal infections can use voriconazole, caspofungin and other drugs. 2. Treatment of phlegm: The patient can be nebulized by inhalation to promote the expulsion of phlegm in the body, and can also take some medicines to promote phlegm expulsion, such as acetylcysteine, aminoglutethimide, and so on, and at the same time, the patient can be encouraged to drink more water in order to promote phlegm expulsion, and other ways of expectoration include mechanical shock expectoration, tracheoscopy suction, etc. The above medicines should be used by the doctor, and should be used only with a physician. The use of the above medications should be under the guidance of a doctor and should not be used without authorization.