If you have a fever and you get better as soon as you vomit, it is likely that the fever is caused by food accumulation. After vomiting, the symptoms of food accumulation can be effectively relieved and the fever can be relieved. When vomiting, the heat from the vomit can take away the heat from the body, which also has a certain alleviating effect on the fever, so there will be the phenomenon that the fever will be relieved as soon as the vomit recedes. However, it is still important to observe the changes in the condition and monitor the temperature at all times. Once the temperature continues to rise and exceeds 38.5 degrees, it is important to use antipyretic medication such as ibuprofen suspension or acetaminophen pellets for treatment. If the fever and vomiting are caused by food accumulation, you need to use drugs to promote digestion. For children, it is recommended to take oral liquid for eliminating accumulation and relieving cough, noon-time tea granules or stomach-healthy and anti-eating tablets.