What I do depends on the type of hand and where it is, for example when it's at cash tables or when it's in a tournament or freeroll and you're about to enter prizes and that happens to you if it's very annoying, literally I can get sad, frustrated or angry. Actually, lately I always have bad beats and the worst of all is that I tend to connect trios but on the river they almost always connect stairs. It feels bad I'm not going to lie, just today I lost a $500 freeroll in which on the full flop a trio of Q and the villain starts
bluffing I booted him all-in and he pays me with J-2 suited of spades, a pike had fallen on the flop, and on the turn and river they throw two spades at him, I felt horrible.
At first you feel bad, but if you know how to handle it and you can transform that frustration into motivation to keep learning and improving, it will be good in the long run, it can be very good. In general, a few days ago I felt terrible, but thanks to all the people and moderators of the forum who helped me not to feel so bad, I'm still here trying.