One way to automatically feel better when things are going less than optimally, or not as planned, is practicing gratitude. Basically, listing or thinking about things that you’re grateful for serves as an exercise in flipping your perspective to focus on the good.