if your baby has a fever and is vomiting, you should consult a pediatrician as soon as possible. These symptoms could be a sign of an underlying issue that needs medical attention.
In the meantime, make sure your baby stays hydrated, but avoid giving solid foods that might exacerbate the vomiting. Monitor the fever and use age-appropriate fever reducers only if advised by your doctor.