I think you should go away at least from your pc for a while.
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