When a child coughs and vomits mucus, the first thing to do is to distinguish whether the mucus is from the respiratory tract or from the digestive tract, and then you can further determine the disease and then treat it. Generally the child coughs and expels secretions from the respiratory tract, while the vomiting expels secretions from the digestive tract. If the child coughs and discharges all mucus-like secretions, you need to be vigilant that the baby has a respiratory tract infection, then you need to treat the infection, you can improve the sputum culture, respiratory pathogenetic testing, according to the results of the allergy test and the doctor’s orders to use drugs such as amoxicillin, ceftriaxone and other drugs to fight infections. In addition to the phenomenon of coughing and sputum discharge, you can also use acetylcysteine nebulization, ambroxol oral solution and other drugs for symptomatic treatment. If the child vomits and discharges all mucus-like secretions, which are stomach contents, most often caused by severe coughing, you can observe whether there is bleeding or pus present. If no special treatment is needed, the primary disease such as pneumonia can be actively treated. If the baby has a cough, cough and vomit after a severe cough can be timely medical care, follow the doctor’s instructions to complete the pertussis nucleic acid PCR, mycoplasma nucleic acid PCR, sputum culture, respiratory pathogenetic testing and other related examinations, and then follow the doctor’s instructions for treatment.