Failure happens in life. I have failed a ton (probably more than most). Failure means you tried. Success is not automatic, it takes work, right mindset, proper planning and often Many failures.
Yes when you fail it sucks and can be a downer, but do what you need to get past it and go again.
As for playing Poker, thats a no. Any little thing that goes wrong will get amplified. Take a break, watch positive stuff (Tony Robbins, Bob Proctor, ect) or funny stuff and get past your mood and than you could start playing.
Poker like life is mostly your Mindset. If you go in thinking failure, well you will fail 100%.