What happens next?

How to be mentally resilient
Challenge problematic thinking.
The way you look at setbacks can have a serious impact on whether or not you can muster the strength to try again. When something doesn't turn out the way you hoped, you may have an automatic response that you're not even aware of, a response that puts an unnecessarily negative spin on the situation.
When you experience a setback, take a few deep breaths to calm down, and try to notice what messages you are giving yourself. Challenge the thoughts that impede your resiliency.