I've been an addict. And some time I have tried to stop. It's not easy. I have read many articles of self help, saw several videos on youtube and always trying to kick the habit. More recently I read a book "the power of habit" and that helped overcome my addiction. Today when I want to play, I separate some bitcoins for it. If you lose not continue. I'll do something else. Currently I do Yoga and meditation.
But once you understand your addiction to gambling, you will get easy method to come out of it.
Many gamblers never understand about their gambling addiction, that situation is the big dangerous of gambling because they do not aware the reason and necessary to stay away from gambling.
Even if you understand you're addicted to gambling there will be nothing easy about beating the addiction as its an illness! It is a terrible addiction and many never get over it even though they know all to well they are addicted.
To the original poster, I had to deal with a boarder line poker addiction many years ago and another addiction and my way to deal with it was simple things that broke the habbits, walking, eating at set times, reading, working and working out in the gym. Once the habbits have changed the thougt of gambling etc was non existent.
In short occupy your mind with structure and doing things different to how they was being done while gambling.