You don’t have to pretend that it’s pleasant to fail or ignore the frustration that arises when a goal falls out of reach. Instead, accepting the emotions that came with the setback, being curious about why things went wrong and how you can improve in the future, and practicing self-compassion can help.