Anthrax is right. If things get too hairy just wake up. I've never experienced a lucid nightmare, but I never worry about hypothetical situations in dreams. I would try to focus on all of the positive aspects of what are happening in the dream at the moment instead of the "what ifs".