For vomitings you can give syrup ondansetron
5ml orally and after half hour you can try orally feeds and any prescribed medication. Give sips of oral rehydrating solutions sips by sips to prevent dehydration
and consult your Pediatrician
to detect the cause of vomitings and for the examination of your child and for the specific treatment.