You lost the promotion to a co-worker.
You lost the boy to another girl.
You crashed the car.
You bet on the wrong horse.
You lost the friend.
You need time. Time to heal, and even time to hurt. Rushing through it only covers and hides the need for healing, never addresses it. So, take some time. Hurt. Feel it. But, deal with it, don't just sweep it under the rug thinking it will go away. It won't. Not even time can heal things that you refuse to look at honestly. They will come back.
But, eventually, when time has done its job, when you've felt the hurt as much as it can stand to be felt... eventually, the choice lies before you and you have to choose.
Do you continue to wallow in it? Or do you choose to let it go, turn your face to the sun and your back to the pain, and take a step forward?
That choice can require some brutal honesty with yourself. It requires you to face the hurt head-on. It requires you to face your own faults head-on, your own mistakes, your own blame. Sometimes that hurts more than the original failure did. But, not all pain is bad.
Sometimes a little honesty is all you need to see the whole thing clearly. To know where you messed up. To know where you didn't.
And to know where to go from here.