如何 どうしました
dō shimashita

Interjection
Politeness Auxiliary

The polite past form of 如何して

1. What happened?; How are you?; What's wrong?

Past/Perfective
Polite