Gambling addiction may happen even with playing mobile games on phone or watching gambling related movies. Environment and close circle factors can lead to addiction too but it depends mostly on personal habits of gambler. The most important point is to know when to leave website before it is too late, otherwise, addiction will cause bad consequences sooner or later. Taking help of friends and talking to psychologist may help too, accepting problem is first step to get rid of it.
At the end gambling is a bad habit one has to quit gambling at any cost to save his health and his mental peace.
But that is correct change of environment is very effective - we also change place for the break and for the new beginning