How to positively reframe your thoughts during stress

Hey all, when you feel overwhelmed by stressful situations, what practical techniques do you use to spot negative thoughts and purposefully reframe them into something more helpful or constructive?