Solutions to this problem vary per person. It may or may not have the same effect as to the other but it never hurts to try. I think one of the most effective solutions is to invest on a new hobby (that does not relate or is a far different category to gambling). Once youve invested in that, youll be able to spend more time to that hobby and to yourself. Little youd know, you no longer find yourself gambling.