When a two-year-old baby has vomiting and fever, the first thing to do is to carefully observe the child’s symptoms. If the fever is accompanied by headache and vomiting, it may be viral encephalitis and the child should be taken to the hospital for an electroencephalogram. If there are abnormalities in brain function, it is likely to be a viral encephalitis, which should not be taken lightly and should be treated in the hospital as soon as possible. In addition, if there is fever and vomiting, accompanied by bloating or diarrhea, indigestion, this is usually considered acute gastroenteritis, you need to take the child to check the stool routine to see if there is a bacterial infection, if there is a bacterial infection, it is necessary to take antibiotics to treat. If there is no bacterial infection, give the child probiotics and other treatment.