A: set a limits; this simply means that you should budget a certain amount of funds for gambling.
B: Be disciplined; the above example won't be possible if you are not disciplined or rather when you do not have self control. Be mentally smart when gambling so you don't get carried away.
C: Remove the mindset that gambling will make you rich overnight; of course many people have made huge fortune from gambling but do you know how much these people spent to win such huge profit? Bet with what you can afford to lose and also bet according to your capacity.
You're right setting a limits do well to help you be able to manage your bankroll and as well gamble responsibly, often times gamblers don't take advantage of this and keep going off their limits. All of this points that you've highlighted so far will go a long way in maintaining a balance gambling state but it all depends on the gambler which involves them having self control over themselves each time they tend to gamble, so if they can observe this points I'm sure they'll have an addiction and regrets free gambling experience.
For example, I started to think at what point I started to continue the game and ended up losing more than I wanted. But then I realized that the only thought that can destroy our entire bankroll is when the loss limit has already been exhausted, and I convince myself that just one harmless bet will not change anything, but after it I make another and another. In general, the violation occurs at the only moment when we convince ourselves of the complete harmlessness of a small bet. Understanding this, I never do this now and I also advise other players to use this technique when playing. Because when we allow ourselves to make a harmless bet, it is the same as losing the entire deposit and there are no concessions here.