Everyone is gambling so that they can win, and that's why when they're on the winning streak, they forget that, their bet can turn in the opposite direction the next minute. This is why whatever profit that you have seen, you should stop the game and walk away, otherwise, you will lose it all, and regret it.
What I do is that, I set a time limit for my gambling activities and I also have a gambling budget. Whenever, I am gambling and my time limit is exhausted, I quit the game no matter if I'm losing or in profits. If you don't set limits for yourself, your might end up losing all your bankroll in a session.
Funny thing is that, a gambler can have an amount of money he desires to win from gambling and after being lucky and winning that amount of money he gets greedy and goes for more, this is where things can start taking a different turn. Greed is one of the main reason why gamblers can use their profits reasonably... setting limits during winning is also something that gamblers need to learn, it shouldn't only be done when you are losing.
It's a wise decision setting your limitation on both side not just the amount that you are willing to let go but also the amount that you wanted to earn, and like what you said there are times that a gambler set it's expect target but when he experienced the win he change it up and aimed for more, that's where greed dominates and instead of enjoyng with some profits, it ended losing everything including their deposit money.