You should stop visiting the websites which you learned or gambled before .
Dont think anymore about gambling and you can do something different to avoid gamble or go to sleep if you are considering gambling
The sad thing is that when you try to tell them not to think about gambling, they will think about it more cause it is their habit to keep getting themselves involve in gambling. So if you keep thinking of gambling, i dont think you can even go to sleep cause your mind will be wide awake.
many people likes gambling and they have a good job or maybe they own some company. perhaps, we can call gambling is hobby because some people feel fun when gambling before they lose at all. and other problem is when you have a free time, you will back to gambling again.