what did you do?
Polite way to ask what someone did, often used in service contexts or when showing concern.
What did you do yesterday? (polite)
what's the matter?; can I help you?
Polite inquiry when someone seems troubled or needs assistance; common in customer service and medical settings.
Sir/Ma'am, is something the matter? (polite)