You're not disciplinary this is why you're having this problem, if you can learn self control you won't be over gambling or over staking money. Gamble with responsibleness that's the right way to gamble. Don't try to revenge your bets when you lose but gamble as a way of entertaining yourself and you won't get disappointment regardless of losing your bets. When gambling, winning isn't always the outcomes.
Excessive emotions mean haste, these are wrong decisions, often those that we will later regret. Therefore, if you see that you are under the influence of emotions, then it is better not to play that day, do not make any important decisions, and if possible, try to take a day off and calm down. I know that in our modern world this is not so easy, but if you know that emotions can cause harm, then try to prevent this.