Many factors can contribute to a person's mental resilience. Please keep in mind that it's impossible for even the smartest AI to give a general answer that fits everyone in need. However, here are some things you can try:
- Accept that as humans we will make mistakes. It's not the end of the world. Even little things, such as forgetting where we left our keys, can be learned from. Whatever the consequences of our mistakes, we cannot go back in time. Accepting ourselves for those mistakes allows us to take value from them, moving forward to make more informed decisions in the future. 
- Ground ourselves to your surroundings. If you feel yourself stuck in your thoughts, or as if they have snowballed into rumination or catastrophizing, then it might be time to take a step back and notice what is around us. It's easy to become wrapped up in our own world and become disconnected from the true facts. Take note of the real world around you, such as the ground beneath your feet or the subtle sounds you may hear in the distance. Focus on your breathing. Use your senses to remind yourself that you are real and then use that to challenge your difficult thoughts. Often, our strongest emotions are based on assumptions, which may not reflect how people really think or how things really are. Ask yourself if you're showing the same kindness to yourself that you would to others. 
- Show kindness to your difficult thoughts. You might think of yourself as weak for feeling a certain emotion or thinking certain thoughts, but that doesn't help us take control, it only digs us further into difficulty. Emotions cannot be weak or wrong. They exist for a purpose, to protect us. They aren't our enemy. When we try to argue against them, they will try to argue back. We have to see them for what they are if we want to feel in control over them. 
- Consider what mindset we're using. We have different thinking states for different puroses. One of these, fight or flight, has evolved to keep us safe from dangers, but it's often used in unhelpful situations. It's a good thing we have it, but it is only good in a fitting situation. If we are anxious about a project that's due, for example, then fighting nor running would be a helpful solution. In that case, a soothing mind that fosters our creativity may actually help us more.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence