block your internet
That will help for people sometimes but not always, because see it is like you leave the college because you do not like a teacher. You have to cure the disease friend, stop using internet also means you can not earn anything then. Better block gambling sites. But that too not effective in my own experience.
Since you are the one why blocked it, you can always unblock it anytime you feel the urge to gamble again. You are just fooling yourself for doing that. The best way is to find a professional to help that can guide you to cope out of your gambling addiction.
yeah, or look for an emotional support from your family and friends.
You actually don't need a professional to get out of gambling, try to do some productive works.
get out for a dinner, or travel.
those things will actually help you a lot.