Try doing some training for yourself. For example, if a whole day passed and you didn't gamble even if you urge to, you get yourself a pizza or smth that you want. Like a little reward for your action. You can get other people involved with this reward, like your wife or some member of your family.
You can try doing punishment to yourself. This isn't a good punishment but this might get you to try to discipline yourself. Whenever you gamble, you wouldn't eat for 24hours. You can tell your wife to not give you food, lock the ref, etc. Once you get a little traumatized with this starvation thing, I'm pretty sure you wouldn't want to have this punishment again. Thus, pushing yourself to not gamble.
