The perfectionist in you may see things as purely black or white (i.e., you're either a success or a failure, with nothing in between), but as you work on mental-health recovery, try to accept that nothing's perfect, including you. When things don't go as planned, your initial reaction may be to give up. Instead of giving in to pessimistic thinking, focus on actively noticing your thoughts as they occur. Say them aloud or write them down. Don't fight your thoughts. Simply see them for what they are: just thoughts -- not a reason to give up or sink into hopelessness and depression. Ask your therapist or counselor about more ways to build resiliency and optimism.