What you're describing sounds like acute gastroenteritis, usually from a viral or bacterial infection, and the real risk right now is dehydration from repeated watery stools and vomiting rather than the infection itself.
Next Steps
Sip ORS, coconut water or diluted buttermilk through the day in small frequent amounts, and stick to light food like khichdi or bananas once the vomiting settles. Please see a physician today, since you may need medicine to control this and a stool test.
Health Tips
Go to the hospital urgently if you can't keep fluids down, feel dizzy or faint, or notice blood in your stool.