If you want to stay away from gambling then try to get involve in some other activities of life, and try to get a good job so that you earn better from there, and for entertainment try to adopt other sources.
Try to get a good job isn't the answer. I think what you should do is
be committed to your current job. If you love what you are doing, you wouldn't be bored doing it even after 8 hours of work. You'll be motivated and inspired. People who love their jobs usually increase performance. Thus, increasing the chance of them of getting promoted. If you're committed to your job, then you'll probably be busy and focused to it. You wouldn't even have time to gamble.
Yeah it can help but i think its better to go first in psychiatrist because they can give recommended how you can stay away in gambling if you are addicted in the game.. Before i was addicted to play which is slots and sometimes trying my luck on dice game.. daily i can spend 0.01-0.05 if i have lots of earnings from my blogging and trading.. but now stop because bitcoin increasingly fast and now i am regretting about spending my bitcoins..
So right now i stop and change my passion and change my hobby i am now addicted the game cold pinoytalisman if sometimesi bored on this game i go in league of legends and dota 2..