@psychojoe and I have talked about that in a lot of detail.
There's a certain amount of money I'll set aside each season to play with and a certain level I'll stop. Of course, $0 means I'm not betting anymore. I always set a cap on winnings and quit as well.