I plan even before i start to gamble that when i will stop,it can be either reaching a specific target or i can be the minimum amount which i need to save after some losses.But i can tell you its really hard to follow when i started to gambling,but i make up my mind hard to follow this.