A typical flow for us would be:
Something goes wrong - Stop aircraft - Apply parking brake - Announce "Cabin crew and passengers: Remain Seated" - Start configuring for an evacuation and shut engines down - Announce "Evacuate Aircraft."
The choice of doors will be made by the cabin crew. They will be closer to the problem and better placed to make the call.
PM