“怎么办”means,you are very willing to do something,but you have nothing to do with it ,so you are worry,then may be you will ask youself or others "怎么办".
for example:If I get off the train on the way to make one day stop-over, and then go ahead, what should I do? (the sentence "what should I do? " means "怎么办")