Welcome to justanswer.com and thanks for your question.
Well as you describe there may be possibility of Viral
gastroenteritis in your case.
And main line of treatment include rehydrate yourself with plenty of fluids and Oral rehydration solution (Gatorade).
Also take metamucil .
Continue to eat at easy to digest food like soup or BRAT diet (bananas, rice, applesauce, and toast).
Take OTC Imodium if you have severe diarrhea .
Also take OTC Motrin for pain .
Take proper rest and avoid dairy products, caffeine, alcohol,undercooked meat and fish and fatty rich food .
If your symptoms 'll persist you need to be seen by your regular doctor for a clinical examination and undergo Stool routine examination , CT scan abdomen to rule out underlying possible cause which may include Intestinal parasitic infection , colitis , Irritable Bowel syndrome .
Also if you feel dizziness and severe diarrhea then you may require IV fluids and injectable medications .
If you have severe abdominal pain then visit ER for prompt treatment .
I hope this helps.