Was the vomiting associated with cough ? If not then it’s most probably due to decreased appetite which in turn causes gastritis which in turn causes nausea abdominal pain and vomiting which may cause less inclination to eat food . Doctors might prescribe some symptomatic treatment so the same .
Next Steps
Give a soft diet of food that is easily digestible .
Plenty of fluids orally .
Health Tips
Consult with me for further details