Sport up. -- Get your game face on.
When you cannot win, at least you'd get a grin.
Courage is what earnest Hemingway described as "grace under pressure". When you can demonstrate good sportsmanship even in the face of glaring defeat, you have definitely taken the first step towards earning the respect of your opponents and your peers, and as well started preparing yourself for victory next time.
Whatever happens, don't take your defeat or setback so personal that you cannot give back a smile of sincere congratulations to someone who temporarily bested you. You have to give it to them, they did their best and they tried. All you have to do is wish them well, and go back to the grind to rededicate and improve on your own ability. whatever happens, stay in the game, and don't lose your cool.