Cognitive restructuring can save your emotional reactions.