Learn how to accept failure?
The best way to accept failure is to assess the damage, and
figure out how you would do it differently in the future and not
make the same mistake twice. If you look at failure as a learning
experience (as all the inventors did), then you will welcome
failure as a growing experience. Also, if there is any collateral
damage to your failure, be sure you admit to others your mistake
and do what you can to make ammends, fix it, or take responsibility
for it in any way appropriate. And above all, TRY AGAIN! The
biggest failure is giving up.