Coughing up yellow pus and sputum is mostly seen in infectious lung lesions, commonly pneumonia, bronchiectasis and lung abscess, etc. It is necessary to choose the appropriate treatment drugs according to the pathogen. 1. Pneumonia: lung infections caused by bacteria, viruses, mycoplasma, fungi and other pathogens, often fever, cough, coughing up pus sputum and other symptoms, bacterial infections are more likely to cause yellow pus sputum, according to sputum culture and other pathogens, such as sputum culture and other pathogens, select sensitive antibiotics, such as amoxicillin, levofloxacin and other drugs to fight infection, can be assisted in giving aminoglobin to resolve sputum treatment. 2. Bronchodilatation: patients coughing up yellow pus sputum suggests that there is a combination of bacterial infection, Pseudomonas aeruginosa is a common causative organism, according to the sputum culture and sensitivity of ceftazidime can be given anti-infective treatment. 3. Lung abscess: coughing yellow pus sputum is a common symptom of lung abscess, mostly combined with anaerobic infections, commonly used metronidazole; fragile anaerobic bacillus infections, clindamycin can be selected; legionella lung abscess can be selected macrolide antibiotics, such as erythromycin and so on. It is recommended that patients go to the hospital in a timely manner, under the guidance of a professional doctor to improve the examination, receive standardized treatment, the above drugs must be used under the guidance of a physician.