Thank you for your query,
Your child seems to have some gastric irritation secondary to the infection or drug associated.
For vomitings you can give domperidone
drops in prescribed dosage and continue frequent breast feeding.
You can continue sips of oral Pedialyte
If the gastric irritation is more, still vomitings there may be a need for anti acid medication like lansoprazole
, So consult your Pediatrician
for further advise.
Hope i have answered your query.