Thanks for your query.
Your baby is having gastritis
which us mostly viral and settles in few days.
I suggest you to give some anti emetic like domperidone
in prescribed dose.
when fever is above 100F.
Give fluids in small sips so as to maintain hydration.
In case vomiting persist get evaluated by pediatrician
for further management.
Hope this helps.