If you have a fever and vomiting, you should first go to the hospital for an EEG to rule out viral encephalitis as a cause of fever and vomiting, especially in the summer. In the case of viral encephalitis, the viral infection causes edema in the brain tissue, which can lead to an increase in intracranial pressure and vomiting. Once the viral infection occurs, fever may also occur, so the phenomenon of fever and vomiting is more dangerous and needs to be treated in the hospital quickly and should not be delayed. If there is no EEG abnormality, it is not viral encephalitis, but there is a possibility that the fever and vomiting are caused by acute gastroenteritis, most likely caused by cold or bad food. Check the stool routine or blood routine, often the phenomenon of elevated white blood cells will occur, if there is indeed a case of acute gastroenteritis, you need to use antibiotics for treatment, you can use cefixime granules. In addition, for the symptoms of vomiting, adults can take morpholine for relief.