What I just started doing when I am on an unlucky streak is take a short break and then analyze my biggest losing hands and find out if I'm losing because of bad luck or playing poorly. If I did nothing wrong there is no need to feel bad or angry and if I made a mistake I learn from it and that's it