Nothing you can do if youre going through a losing streak. If its too bad then take some time out from gambling, try & find other things you enjoy.
I think there is something you can do if you know that you are in a losing streak already and that is to quit gambling but I doubt that gamblers will do it because they will gamble every single bit of money they have. I agree with what you said that if you are frustrated in gambling because of losing streak, find other things to do like hanging out with friends etc.
They will use all of their money if they dont have good self-control, as we know that gamble is really addicting and we're always forget to use money that we can afford to lose to prevent such thing like that, I'm advise to people who just get a lose streak it's better you start to find other way to make money in a short time.