A person who is gambling to have some fun isn't a gambling addict but if a person doesn't have self control then that person can become a gambling addict easily. To prevent yourself getting out as a gambling addict is to make yourself busy like starting a new hobby as to make yourself don't have time for gambling and a rehab. I am sure that it will work quite nice since you no longer have time for gambling and also have someone teach you about financial management.
Sometimes replacing gambling habits with a new one doesn't really work out as planned, you can come up with something to distract yourself from gambling but this isn't really a permanent solution to gambling addiction. You can avoid the urge to gamble when you get involved with other things but there are situations where you might end up falling back to it. The permanent solution is to inculcate self-discipline
Leaving gambling Alone is not something that people can achieve easily because when an individual has graduated to an addict it becomes a problem to the individual which cannot be gotten over by running away from gambling because eventually the person will come back to gambling because it's not easy leaving gambling just like that, the solutions remains therapy and self discipline which will has to be strictly followed