Avoid panicking, even when surrounded by flames, toxic waste, or a swarm of angry bees. Your chances of survival increase by 300% when you don't wet your pants.
Unless you're in a sinking ship, find a sturdy, elevated surface to cling to. Your average desk chair will not suffice.
Wave your arms, shout loudly, and possibly set off a flare or two. Your cries for help will be heard by the rescue teams, or at least the neighborhood cat.