Yes you can give ondansetron syrup for vomiting
Give paracetamol for fever
Doses depend on the weight of the child
Once the vomiting stops, consider deworming the child.
Next Steps
Give junior lansoprazole and probiotic like enterogermina also
Health Tips
Danger signs for which a physical consultation with pediatrics is needed- if vomiting doesn’t stop after ondansetron and the child is not able to retain any feed/ high grade fever/ lethargy/ refusal to feed/ signs of dehydration