In fact, the main thing here is self-control. The one who cannot control himself basically becomes addicted. If he could control himself, he would never have become addicted to gambling. If someone thinks that he is becoming addicted, then at the beginning he should pay attention to what needs to be done to remove himself from now on. For this, he can follow some steps if he wants, he can take a break from gambling for a few days. He can keep himself busy with other recreational activities instead of thinking about winning or losing. By paying attention to some things in this way, it is possible to be saved from gambling addiction.
I agree, whatever the goal, if the goal is to avoid gambling addiction, then it's a matter of good self-control. With good self-control, players will naturally be able to prevent themselves from engaging in addictive behavior, such as prolonging a gambling session after a losing streak.
In my opinion, the process of becoming addicted to gambling just happens. It's rare for people to realize they're addicted and take the initiative to prevent it. Most often, they don't realize it at first, and that realization only comes after they've already suffered significant losses.