I want to hear more ideas about how someone stops or controls their gambling habits.

Gambling is mainly a recreational activity and should not be taken as something you gain profit from, this way you can truly enjoy all the benefits from gambling without you know, getting attached. If you are struggling with gambling, you can try limiting the amount time you spend on betting platforms also try and limit the amount you invest in gambling. This way when your money allocted for gambling finishes, you are forced to stop betting at least till the next time you have money to gamble.
Another method you can adopt is self distraction, you can literally occupy your time is activitiese to the extent it doesn't leave you free time to gamble. if you truly feel like you gamble just because you find yourself doing nothing most time, trying this method can help because as you as occupy yourself with activities, your brain is then conditioned to your activities and you slowly find the need or urge to gamble often.