2-year-old children eat what vomit, mostly considered to be disease-induced vomiting, such as acute gastroenteritis, pneumonia, intestinal obstruction and other diseases, according to the situation to take the appropriate treatment, such as anti-infection, surgical treatment. 1. Acute gastroenteritis: children can be due to unclean diet, intestinal infections and other causes of acute gastroenteritis, the main symptomatic treatment, can be supplemented with nutrients through the intravenous route, vomiting severe cases of feasible omeprazole omeprazole acid suppression; for the children with infected bacteria, ceftriaxone sodium and other drugs can be used. 2. Pneumonia: when children are infected with pneumonia, vomiting can occur due to gastrointestinal disorders, and should be treated with etiologic and symptomatic treatment. Etiological treatment refers to the treatment of pneumonia, if it is caused by bacterial infection, available antibacterial drugs such as ceftriaxone, if it is mycoplasma infection, available drugs such as azithromycin. Symptomatic treatment is mainly intravenous nutritional support, the use of antiemetic drugs such as vitamin B6 static injection. 3. Intestinal obstruction: children with intestinal obstruction, in addition to vomiting, but also abdominal pain, black stools, fever and other symptoms, not too serious patients can be treated conservatively, such as fasting and fasting, intravenous nutrition, gastrointestinal decompression, enema laxative and so on. If the condition is more serious or the emergence of strangulated intestinal obstruction, then the need for surgical treatment. It is recommended that children who eat anything and vomit anything go to the hospital in time to avoid delays. All of the above drugs should be taken under the guidance of a doctor.