The only thing that I can think of is by just go out and looking for a other hobby that is going to help you for sure if you manage to find the right one for you.
If that does not help then you will have to get some help from a professional.
That is really the best first step of staying away from gambling. There is really no other ways than to make new habits in life like getting a new hobbies or outdoor activities with loved-ones and friends. If you will not keep yourself busy with other undertakings, then there is no way for you to stop and staying away from gambling, that is for sure.
I was reading all your comments and you are good in posting huh and for the suggestions and ideas. When we are winning we staying from gambling so that we can could be addicted on it but if we want to stay away from gambling then we should stop playing it right ? Make other habits like creating some art materials sell it or go to gym make some physical fitness.