I made my gambling habit very simple. When in a mood to gamble, once a few weeks, I have a budget of $20-30 which I plan to spend during one evening. This refers for online gambling, and for offline I can allow to spend $100 (as I gamble offline usually abroad and this is kind of expenses during vacation). I usually manage to gamble 2, maximum 3 hours, then I either dont have time to gamble, or a wish as I get bored (or lost my money). Everything what is (or if) left I withdraw.