Get a job, get a life, get a hobby (except gambling ofc) take a look and read on some site like gamblinghelp.org, ncpgambling.org or anysite like that else maybe it will works. Even when you had no money but if you're addicted to gambling you can't stay away from gambling.
Great list of things to do when you are addicted to gambling.
performing a productive hobby will definitely make a great effect and reduction in your gambling addiction.
getting a job cause a lot of time to forget about gambling.
But still if you can't get over with that addiction then, You always have the choice to call a professional or your family and friends for some emotional support.