When coughing and spitting yellow sputum, it mostly suggests that the patient has a respiratory infection, and at this time, oral antibiotic anti-infection treatment is needed. Because patients who cough up yellow sputum mostly suggest that the respiratory infection is caused by bacterial infection, patients can take oral amoxicillin of penicillin, cefuroxime, cefixime, cefdinir and cefaclor of cephalosporins, and also azithromycin and roxithromycin of macrolides, levofloxacin and moxifloxacin of fluoroquinolones and other anti-inflammatory drugs for treatment. Through effective anti-infective treatment to control the inflammation of their respiratory tract, patients’ clinical symptoms can mostly be significantly reduced. Some patients can also take oral expectorant drugs such as tranylcypromine, bromhexine, acetylcysteine effervescent tablets, etc. If the cough is obvious, you can take appropriate cough medicines, such as compound licorice tablets, etc. At this time, it is important not to take strong central cough suppressants, as they may inhibit coughing too much and make it difficult to cough up phlegm, making it difficult to control respiratory tract infections.