Losing 10 games in a row, even though quite demoralizing when it happens, is not that uncommon. It happens to much stronger players too. And it'll most likely happen to you again even if you get much better, because your opposition will get better too.
Take a break if it tilts you. There's not much else you can do in the short run. Keep at it, continue improving, and in the future you will be losing to stronger players
I have now lost my 10th game, I'm about to give up. What do you guys do to improve when you are on a losing streak?
Just take a break for a few days and you will start to win again.
I have had streaks of 14 consecutive rated blitz losses, so this is nothing to worry about