The imperative is always Aviate ,Navigate, Communicate. The way to handle complex emergencies is to ask yourself "what do I need to do NOW" to attain/maintain a safe aircraft state, then where do I want to go, then communicate in an unambiguous manner inside the cockpit then outside the cockpit what you are going to do.
It sounds facile but it is not. When bad things start happening it is very hard to force yourself to take a breath and systematically go through the Aviate, Navigate Communicate decision making tree. When I had a very bad day in an aeroplane I actually verbalized those 3 words to help focus my thinking.