Cough with yellow sputum indicates bacterial infection of the respiratory system. The mucous membrane of the respiratory tract will become congested, edematous, detached, and necrotic, and the mucous membrane of the respiratory tract will also secrete a large amount of inflammatory exudates, and neutrophil phagocytes in the body will also gather at the site of inflammation and continuously engulf foreign bacteria, and these substances will mix together to form yellow sputum. There may also be inflammation of the bronchi, trachea, and alveoli, all of which can cause coughing with yellow sputum. Effective anti-inflammatory treatment is needed for bacterial infections, and if the infection is serious, intravenous IV antibiotics are needed, or if the situation is not very serious, oral antibiotics can be administered. If there is no penicillin allergy, you can use penicillin antibiotics, if there is allergy, you can also use cephalosporin antibiotics, if all of the above drugs are allergic, you can use azithromycin, and at the same time use cough expectorant drugs, such as lung power cough combination.