The best way of turning defeat into victory, in every walk of life, is to learn from one's mistakes.
One should not set any value on one’s actions.