Turn off sedatives
Leave opioids on at a low dose (e.g. fentanyl 50 mcg/hr)
Allow patient to regain full mental status
If patient shows signs of discomfort consider giving more pain medication
Patient should be able to understand and respond to commands
Extubation
Intubation 
Intubation
Rapid sequence intubation
Delayed sequence intubation
Awake intubation
Extracorporeal membrane oxygenation
Thoracotomy