Beating yourself up over your failures won't get you anywhere.
Instead, says Emma Seppala, science director of Stanford's Center for Compassion and Altruism Research and Education, you should treat yourself as you would treat a colleague or friend who has failed.
For example, you might remind yourself that mistakes are normal and that they don't mean you're a bad person.
One strategy for practicing self-compassion is to write yourself a comforting letter — again, as though you're writing to a friend. Another strategy is to come up with a self-compassion phrase that you repeat when you're struggling.
By caring for yourself the same way you care for other people, Seppala says you'll experience less anxiety and depression and you'll have a better chance of bouncing back from stressful situations.