That's why you need to make some plans before going into gambling.
Don't so emotional about your loss and how to avoid that? Limit your daily bet capital and stop when it gone.
I did it everytime in gambling time and could control myself to accept my losses.
Yeah that's right. There needs to be specific plan that you know you can strictly follow when you start gambling. This possibly is the hardest part when you engage in these types of games as the more time you spend in it, the more your emotions will get involved. And when that happens, you lose control. So before it goes to that point, you should be able to force yourself to leave no matter how hard it is.