Set a budget: It is important to decide how much money you are willing to spend on gambling in advance and stick to that budget. This can help you avoid overspending or getting carried away.
Choose your games wisely: Some games have a higher house edge than others, which means that the casino or other gambling establishment has a greater advantage. Choose games that have a lower house edge, such as blackjack or craps, if you want to increase your chances of winning.
Practice good money management: It is important to manage your money well when gambling, which means not betting more than you can afford to lose and being careful not to chase your losses.
Stay sober: Alcohol can impair your judgment and make it more likely that you will make poor decisions while gambling. It is important to stay sober while gambling to help ensure that you are making decisions based on clear thinking.
Bankroll management is key above all the criteria. I also want to add that there are games that can make you have the edge at any given moment if you work hard in acquiring the skills and the knowledge needed to get +EV everytime you play. These games are poker and sports betting. It's just a matter of choosing your spots well and have the skill to win more consistently.
And what's fun with sports betting is you don't have to stay sober after you've made your bet.

You can be as drunk as fk as the games happen.