How people do laundry abroad depends heavily on housing style. In many countries, rental flats come with a washing machine or at least the connection for one, and doing laundry at home is the default. In others, especially in big-city apartment buildings, shared laundry rooms in the basement are standard, sometimes with booking schedules that newcomers need to learn quickly, because skipping your slot or leaving clothes in the machine is a classic way to annoy neighbors.
Laundromats are the fallback where neither exists. They are common in student areas and city centers in many countries, less so in suburbs. Dryers there are a blessing in cold, damp climates where air-drying indoors takes days.
One cultural note worth knowing: in some countries, hanging laundry on balconies is completely normal, while in others it is frowned upon or even banned by building rules. Check your lease. And if your building has no machine, a wash-and-fold service near work can be surprisingly reasonable and saves your weekends.