Thank you for your query,
This could be gastroenteritis
dua to a virus.
Continue to give Pedialyte in sips to prevent dehydration
For the control of vomitings antiemetic like domperidone
should be given in prescribed dosage.
Watch his hydration status by looking his activity, urine output and skin turgor.
Consult your Pediatrician
for the complete assessment, to assess the hydration and for specific treatment.
Hope I have answered your query.