Someone should think of a limit before he starts gambling to make himself safe from losing all he has, he should set a target that if he crosses the target in losing so he would stop betting for that day, and if he is winning he will keep betting until he loses what he had decided in his mind.