If the problem stil is there, and you realize that it's not a lucid dream that you found yourself in. Then you could just lay down on the spot and start dreaming yourself away from the problem..

Hehe jk, no but I like the way you think nonetheless!

But this is just a thought
Or is it..? Reality check now!