Just gamble for fun and not for money.
How to make sure you end up with losses: use gambling as a source of income.
The more you want to earn money the more you are willing to gamble and that in itself is risky already. There might even be times where you would not be able to control your emotions and you let it get a hold of you and before you even know it, you are deep in debt.
Now it is your life and your money but it’s better to control your gambling habits now than never.