How to prevent being a sore loser

How to prevent being a sore loser