Top-up ecosystems are pleasantly over-served in most countries; you'll rarely be far from a way to add credit. The carrier's own app is the best default: buy data packages or credit directly with an international card, in English on the major networks, and it shows exactly what you're buying. Where foreign cards are refused, which happens on some carriers' payment systems, fall back to the physical options: convenience stores and supermarkets everywhere sell top-ups, either as printed voucher codes or by loading credit directly to your number at the till; carrier shops do it over the counter; and some countries have top-up vending machines or kiosk terminals in stations and malls.
A distinction worth understanding: adding raw credit is not the same as having a data package. On many prepaid systems you load credit, then convert it into a data bundle via the app or a short dial code; raw credit consumed directly by browsing burns absurdly fast at pay-as-you-go rates, a classic tourist mistake.