Does any of these methods work for you? How do you keep a rein on your gambling habits?
That's generally good advice, although gamblers generally need to break out of the tunnel vision and bad habits that have sometimes built up over years of playing. Like any addiction it's not just the physical act of dropping money on to a game, but can sometimes be the environment and feel-good memories associated with it, even if the good times were created a long time ago.
Another thing to think about when you're trying to break such an ingrained habit is the triggers and it is somewhat covered by the first point mentioned. If you think about smokers for instance, they might subconsciously go for a cigarette after eating or when drinking, so when you're trying to stop - really assess anything that might trigger your mindset towards gambling. If you popped in the bookmakers when you go to visit a the grocery store, try using a different store for a while until you have a bit more control. Control is key and you might feel powerless at the beginning, once you have it back the world seems a lot clearer.
Also, some games have elements of gambling (poker, blackjack, etc.) but there are a few people who can eek out a profit based on skill. If you are consistently losing money, you need to walk away.
Man, triggers is the devil. It can sneak up on you unconsciously at that moment when you think, "well I'm strong now, I can beat this". There is nothing harmful about triggers per say but it's the strong association that has been made between them and the addiction that needs to be broken. And that is the real struggle because no else but you know what you're going through.