It is also funny when people ask for an advice for what should they do after losing. If they can allow to continue and want to do it, then they should continue gambling. If they run our of money, have no wish to continue, then they should stop. I mean what advice do they want to get? When they lose, for someone suggest them a winning strategy, or a bet that will be a 100% win next time? Or where to get more money?
It is simple...just quit the game for that day, and allow yourself not to be controlled by your emotions. If you quit, and play again tomorrow, you might be lucky. If you are not lucky, always quit when you have used up to the money that you intend using to gamble, and play again next time. It will help you manage your loss and also prevent you from any trauma and addiction.
Yes, there could be no better answer than what you just gave above myself, because truly when a gambler loses a game while gambling, there are only 3 options/decision or action he/she has to take, that is,
first to either borrow money so as the keep gambling while chasing his/her loses,
second, the either stop gambling for the day, so as to continue another day, and
third, to either quit gambling entirely, so as to never experience such lost ever again. And whatever the case may be, I will strongly suggest that when you observed you have lost a huge sum while gambling, it's better to stop for the moment, so as to continue another day.