There is no easy way to cough up phlegm, patients coughing up phlegm is mostly considered to be caused by upper respiratory tract infection, pneumonia, chronic bronchitis and other diseases, which need to be treated with medication and surgery. 1. Upper respiratory tract infection: For coughing up phlegm caused by upper respiratory tract infection, you need to use expectorant drugs such as Ambroxol Hydrochloride and Bromhexine Hydrochloride under the guidance of a doctor. 2. Pneumonia: If the cough and sputum caused by pneumonia need to choose the targeted drug treatment after clarifying the pathogen, if the cough and sputum caused by Streptococcus pneumoniae, you need to follow the doctor’s instructions with amoxicillin clavulanic acid potassium, cefixime and other antibiotics to the cause of the treatment. In addition, patients can also use acetylcysteine, carboxymethylstein and other expectorants. 3. Chronic bronchitis: If chronic bronchitis causes coughing up phlegm, expectorants such as guaiacol glyceryl ether and bromohexine hydrochloride should be used as prescribed by the doctor. In addition, the patient can also use aminophylline, doxophylline and other theophylline drugs under the guidance of the doctor to expand the airway. Coughing up sputum may also be caused by tuberculosis, lung cancer, bronchial dilatation and so on. It is recommended that patients need to consult a doctor in a timely manner, need to choose targeted measures under the guidance of the doctor to treat, not blindly use their own medication.