Chess = Life....
Chess is just like life. Work hard and give each game 100% effort. When you lose, wait a couple of days and then carefully go through it to discover the mistake(s) which caused the loss.
So you had a setback, but you learn a great deal from it.