Usually someone who gambles then loses more money than the amount he can lose from gambling is an addicted gambler, but you can use this to not lose too much, determine the amount that can be lost and when it runs out at the limit you stop at that time, do not have other expectations when your money has been spent, if you continue to continue finances and your mental state is not good it will become an impulsive gambling, and that will make you lose even more.
More when you have experienced defeat is to go to rest and away from the mind of gambling, it will give a little peace than continuing gambling, the important point that underlies it is that you must be able to control your emotions and expectations of gambling.
But there is something that is regrettable in a situation like this, where ambition is very dominating to get a win, I have experienced this position in several moments, where I got a losing streak and excessive defeat even thought of expectations that maybe once again I would find my luck to restore losses, the thought is quite torturous mental state that can make you lose much more.
Sometimes also when already thinking that maybe I need to take a break and keep my distance from gambling but this is very difficult to do if it is still very curious, and yes to control if in a position like this is when our logic is above what makes triggered continuously to gamble.