Gambling addiction did not just set in one day, it must have taken time to build to that level that it can not be easily resisted by the gambler. This is most time caused as a result of excessive chasing of losses which cannot be controlled by the gambler, and as such, they always want to recover their losses because they feel the need to do so and they forget that the casinomechabism was designed or built in the way that the odds always ends in the favour of the house so if any gambler wins, it is lick on their side.
So the first thing to do to avoid gambling addiction is to set aside a gambling budget and learn to gamble responsibly. Do not exceed your gambling time per scheduled day. Once your budget for the day finishes, take leave from the casino; likewise, if you begin to lose games too.