In my opinion, the only practicable measure to mitigate loss is to stick with a budget which must be an amount you can afford to lose. Every other measure might not be easy to adopt.
Sticking with a budget and limiting the number of times you gamble in a week or month, most gamblers learn from experience and minimize their stake but minimizing your stake can still compound to become a huge loss when you keep playing on a regular basis, this is something a lot of gamblers fail to realize. If you get lucky enough to win a bet give it a break for at least a week or two, same thing applies to when you also lose
Yeah, last night I did play online and within my budget, initially I won just small amount of money. And so I withdraw my capital and then just play with the money that I won.
It's slots and roulette game by the way, so I have fun that night and at the same time, win some money. That is my current strategy for now, if I win, then I will withdraw my initial capital so that it's just less damage on my end.
What happens if you withdraw the capital and then lose the profit? Certainly, you will have to fund with the capital again. In the same vein, what happens if you lose your money in the first gambling session? This is where the test of gambling discipline comes in. It is easier to stick to a gambling budget when you are winning, but staying on track when you are losing requires a high level of discipline.
The reason for this is that no gambler, whether playing for fun or not, wants to lose money, so when he does not win, he is tempted to recoup his losses, and a gambler's discipline can be tested at this point. Your story suggests that you have a budget, but since that session favored you, I am not sure if you will be able to stick to it when you lose.