The revenge thinking is what makes us play again and again even after loosing. I would stop betting right away if I cover my loss, this is what every gambler thinks at least.
Recovering our losses is a very normal attitude of gambler, first it's hard to accept defeat and you won't be able to have control on that feeling on the easiest way. And also fear of wasting your chance to win is also a reason why we keep on gambling even we lose all the time. But if you are an experienced gambler, you know when to stop.