You are very welcome, David.
Glad that you are feeling better.
The initial management of stomach infection is as following;
2) Lomotil; may only be given if the diarrhea is present and is vigorous.
3) Gatorade / Pedialyte
4) Plenty of fluids
5) BRAT diet; banana, rice, applesauce, toast. Vegetable broths / vegetable soups, coconut water also can help.
The primary aim is prevention of dehydration and electrolyte imbalance. If the vomiting loss of fluids is too much or one is unable to drink enough liquids; one need antibiotics and / or intravenous fluids.
It is privilege assisting you.
Please let me know if you have further queries or unanswered questions.
Please consider a positive rating if this interaction has been satisfactory, as this is the only way we experts are credited and compensated for the time and work. You are not charged again for giving a rating.
Wishing you all the very best in life.