From history it seems that you might be having acute gastro-enteritis
probably due to food contamination.
It seems that now you might be having dehydration
due to loose motions.
Go to ER and get examined as you may require IV fluids and antibiotic injections.
Meanwhile take plenty ofwater, electrolytes and ORS
Ok and take care.