This is exactly why gamblers are advised the exercise discipline, if you can't control yourself while gambling then you simply shouldn't be gambling at all in the first place, a lot of people who are addicted to gambling right now are looking for ways to get themselves out of the habit but they are unable to do so because it's beed integrated into their psychic making it near impossible for them to stop, we should always try to employ discipline when ever we are gambling.
Yes, but the thing is that it's hard to exercise restrain as gambling is very different, it set the tone for a disaster long term. That's why even if we have been preached before about self-discipline and how to exercise it, sooner or later we will have a slip. And if that happens then there is no control at all unless you really fight the urge to deposit and chased loses. And then the mindset though, there is the feeling that we are in control when we gamble, especially when we are winning. We feel invincible, that the next game will be a win for us. That's why gambling is very dangerous because of the risk, but as humans we love that kind of adrenaline rush and so this hidden trap will always be there for us, no matter what.