Hi,
Welcome to the ehealthforum and I am glad to help you out. It looks like gastroenteritis to me due to the sudden symptoms. Gastroenteritis can be produced from viral,bacterial and parasitic infections, contaminated food or water, food poisoning, use of harsh laxatives, change in bacteria that normally live in the intestinal tract, chemical toxins in certain plants, seafood, or contaminated food, and heavy metal poisoning.
Take adequate fluids throughout the day. The BRAT diet (ie, bananas, rice, applesauce, toast) or soft easily digestible semisolid diet can also be taken. Antimicrobial therapy is indicated for some bacterial gastroenteritis infections. However, many are self-limited and do not require therapy. The specific antibiotics are taken for specific bacteria after stool culture. If the symptoms persist then consult a physician.
I sincerely hope that helps. Take care.