Quit when having a bad day…
If you are playing and having a bad day, then many factors can come into play to make this bad day worse. Some such factors that can contribute to it could be lamenting on your losses, getting frustrated, losing temper, getting angry, etc.
When such emotions come into play when you are having an already bad day, you will tend to lose out on your concentration and this will affect good decision making. You will only end up making your bad day worse and adding up to your woes.
So, when things are going wrong, it is essential to not let it affect you in anyway and avoid making bad things worse.