How to set a budget before you gamble