I imagine they had people who would take care of their clothes and "dress" them. I wonder how much clothes they took, especially on ocean voyages and international trips.
You're more likely to get an answer if you can specify what period and region you're interested in. Are we talking Ancient Egypt, Mughal India, post-colonial Mexico?