Though there's no assurance that you can stop repeating things to happen but as long as you know how to handle things, you'll be able to stop the moment you feel that you needed to call for the day, unlike with previous experienced instead of quitting you'll push your way and keep playing then lose more, with better understanding of the situation you'll be able to move forward and skip that aggression that you feel inside you, and not to allow emotions to dominate and not to commit more mistakes.
Following what you say all of us as Humans tend to fall into the same error unlike Animals , we Are always Going to generate that type of situation , of course these things one as a person says no but they do Happen , what fails is in the discipline and having Discipline everything Changes because it is already Something that goes to the level of making the difference and in casinos we Lose money , so we Should lose less Money.