I know that as gamblers, everyone can relate to this question, as we have surely experienced it in real situations.
Suppose our bankroll is $100 and it has already grown to $500, would you quit or continue? Conversely, if with our bankroll, we are down to $10, would you still continue or save the remaining $10? I used specific amounts to make it easier to discuss this situation. I understand that we all gamble with different amounts based on our income, but consider this as an example. You can mention any amount you want based on your personal experience; it doesn't matter.
If I can make 500% then I usually stop gambling for a while it might be a few days/weeks even it might be few months. The same happens to me when I am a loser. I last played in the T20 world cup. I have lost a good amount of money and that's why stopped gambling. I may join a few months later once again.