Cough with yellow sputum is a common clinical symptom of respiratory tract infection, which is considered to be a bacterial-viral infection causing pneumonia, bronchitis, pharyngitis and other diseases. Patients coughing with yellow sputum generally need to take cephalosporin anti-inflammatory drugs to fight infection, and can also take drugs to relieve cough and phlegm and drugs to clear heat and detoxify toxins. Coughing is a symptom of respiratory tract infection and is beneficial to the body, as it can cough up foreign bodies or secretions from the trachea and throat. Yellow sputum is mainly caused by bacterial and viral infections, such as pneumococcus, mycoplasma, chlamydia, staphylococcus, etc. Common respiratory diseases such as laryngitis, pharyngitis, bronchitis, pneumonia, and upper respiratory tract infections may present yellow sputum. Cough with yellow sputum needs to be treated by taking different drugs and using different treatments for different causes of the disease. You can use anti-inflammatory drugs of the cephalosporin class, or you can use Chinese medicines with the function of clearing heat and detoxifying the toxins, and you can also take drugs to relieve cough and resolve phlegm, such as compound licorice tablets. Patients need to pay attention to drinking more plain water, eating a light diet, not eating spicy and stimulating food, eating more easily digestible food, and not eating fried food. In conclusion, patients coughing with yellow phlegm, in addition to taking anti-inflammatory, antipyretic, phlegm-relieving and cough-relieving drugs, they also need to pay attention to more rest, usually strengthen exercise, eat more fresh vegetables and fruits, and can boil water with pears to drink to improve the body’s resistance.