As they say, prevention is better than cure.
This is not for gambling. For gambling, usually what you are seeing is the winning. Taking of risk is what gambling is, if you are not a risk taker then maybe gambling is not for you and maybe that is the sense that prevention can be apt but as a gambling then you are only heading for the winning. Most gamblers don't see limitation to what they want to bet until they are finished with it and the result is out to their favour or not. There are no prevention if you are a gambler, it is only those who don't gamble will run away after losing.