The best strategy would be to take some time off if you are on a losing spree, you will usually get a way better result after some break and will have better chance of winning what you lost back, it happened to me too many times and no matter how hard I try after a while I find myself making this mistake again but I'm noticing that I'm definitely getting better at it.
It's actually more on how you can control yourself better rather than winning more in case you reset your mind after a losing streak. It's like removing the impulsive desires in your mind, clearing it so as when you once play again, you can make better decisions in terms of exiting or continuing gambling.
When you take a break you tend to get calmer and as the result you will make better decisions and you will have a better time gambling as you will no longer have that itch in your mind that keeps telling you to continue betting because you just lost some money and because it just wants to feel comfortable and get back what it lost as soon as possible, even trading is like that and if you lose on a trade one day you just have that same thought that constantly wants to get rid of the negative feeling caused by the loss on a trade and will continuously try to make up for it by making you get on another trade while it usually just leads to even more loss, but as you get more experience in gambling/trading you eventually learn to ignore those thoughts or at least control them better.