what's the best thing to do?; what to do?
こんな時どうしたらいいですか。
What should I do at a time like this?
道に迷った時はどうしたらいい。
What should I do when I get lost?
どうしたらいいか分からなかった。
I did not know what to do.