To avoid stress when gambling , it has to be simple: first, don't Gamble at the casino when you're in a bad mood or having a bad time, gamble when you're not Sleepy , don't gamble to make a profit because you're in need of money, and only gamble the money you're willing to lose It's that simple , and once you lose the money you're willing to lose, don't gamble anymore.
This is simple but still very important, your emotional state matters a lot before you think of gambling. The worst thing someone can do is to use gambling as an escape from emotional instability, doing this would only cause more problems for Yourself. Another important point you mentioned, gambling when you are in need of money. At some point we have all been guilty of that but experience has taught that it only causes more harm than good. Desperation leads to irrational decisions.
When a gambler face money problems, if he considers gambling as a source of income at that time, it would be a suicidal decision. On the one hand, mental stress and on the other hand, financial problems will both worsen the gambler's situation. Although a faith is formed among gamblers that if they place a bet there, they will win or have a chance of winning. But when the results of the bet are seen, the statistics of losses are higher. Gamblers should never accept gambling as a source of income and as much as possible, use the amount of money in placing bets that will not cause them any financial problems if they lose.