You are not supposed to bring your emotions to gambling,it's a game for fun and not a do or die afire knowing this alone keeps you on track and helps you go through life and over come gambling failure challenges.
This depends on how you take gambling. Some people gamble for fun while other see gambling as a way to earn daily living. It isn't a very good idea to take gambling as a way to earn daily living as such people later turn themselves to a gambling addict. People gamble for fun will never go angry after losing because they will always gamble with only the money they can avoid to lose but the otherwise can gamble with any money with him/her hoping to win. So if such gambling lose, such person may get worried and wear up anger as he/she keeps thinking of how to recover such money especially if the money he/she uses in such gambling isn't his/her. The best is for one to gamble for fun with the money you can avoid to lose. Although, I never have such experience but if it later happen by mistake, to relieve myself, I will rather engage myself in what I love doing most (like playing video football game). This will help me to overcome unnecessary thinking which can lead to making a more risky decision after I had lost to gambling.
emotions should not lead the way in gambling because gambling is meant for fun and not for survival. When someone understands this they stay on track and they handle losses without feeling like their whole life has been attacked. Emotion is what pushes people into chasing losses and making decisions they would never make with a calm mind.
How someone reacts to gambling depends on why they gamble. People who gamble for fun do not get angry because they use only money they can afford to lose. People who gamble to earn a daily living usually fall into addiction because they gamble with money they cannot lose and they expect gambling to pay their bills. When they lose they panic and that panic turns into anger and desperate decisions. The safest way is to gamble for fun only. Use money you can lose and when a loss happens walk away and reset your mind. If I ever felt frustration after a loss I would distract myself with something I enjoy like playing a game because it stops the unnecessary thoughts that push people into taking another risky bet. That is how you prevent one bad moment from becoming a worse decision.