From a dry cough to coughing up yellow sputum does not necessarily mean that you are almost well. This condition is usually seen in upper respiratory tract infections, pneumonia, bronchitis and other diseases. If the symptoms of fever and cough are reduced, or if there is no other discomfort, it is suggested that the condition is improving, and patients are advised to continue treatment until the condition is cured. 2. Under the guidance of the doctor, it is recommended that the patient should seek medical attention and undergo detailed examination, such as chest CT, blood routine, C-reactive protein, sputum culture and drug sensitivity test, to identify the type of disease and then carry out corresponding treatment. Meanwhile, coughing up yellow sputum is mostly a manifestation of bacterial or viral infection, and usually requires antibiotics, including penicillin and cefradine. For cough and phlegm, cough and phlegm relief drugs such as expectorant cough capsules and tranylcypromine can be applied. In addition, adjuvant drugs should be used according to other symptoms as appropriate. For example, patients with headache, fever and muscle pain can choose antipyretic and anti-inflammatory drugs such as ibuprofen and acetaminophen to promote symptom relief; patients with nasal congestion can choose trimethoprim nasal spray and ephedrine nasal drops to help relieve discomfort. In addition, the healing of the disease can be clarified by detailed examination, such as lung CT, sputum culture, blood routine, etc. If the examination result tends to be normal, then it is more inclined to get better at this time. During the treatment period, patients should pay attention to rest, avoid strenuous exercise, stay up less, eat a light and easy-to-digest diet, do not eat spicy and stimulating food, and keep indoor ventilation, which is conducive to the recovery of the disease.