Traveler's diarrhea is the undisputed champion of travel illnesses, hitting a large share of visitors to South Asia, Africa, Latin America and parts of the Middle East, usually from food or water your gut has not met before. Its cousins are food poisoning, heat exhaustion, colds picked up on flights, and in tropical zones, mosquito-borne fevers that deserve a doctor rather than self-treatment.
For the routine stomach stuff, pharmacies everywhere stock the essentials: oral rehydration salts, which are the single most important item, loperamide-type antidiarrheals for travel days, antacids and antinausea tablets. Pharmacists in most countries can dispense these without prescription and will advise you competently, making the pharmacy your first stop for anything mild. Rehydration matters more than stopping the symptoms, so drink ORS steadily and eat plain food for a day or two.
Know the escalation triggers: blood in stool, fever above mild, symptoms lasting more than a couple of days, or signs of dehydration mean see a doctor promptly, since typhoid and giardia mimic ordinary upset stomachs. Prevention remains the best medicine: hot freshly cooked food, peeled fruit, safe water, and hand hygiene before eating.