I think you should stop gambling when you're feeling not good in it. Keep chasing the loss is the worst thing in this life.
We stop when we lose, that's how we deal with gambling but it's necessary that we will not lose that much.
Gambling is fun but it needs to risk our money in order to play it, therefore you need to have the discipline to be able to enjoy and be safe.
When you are not feeling good then just stop, there's still tomorrow and casinos won'g go anywhere.
When we know that gambling is at great risk, we are forced to control ourselves and limit ourselves. We are forced because that is a necessity, something we have to do so we can know when to stop and not addicted.