The key ingredient is time.
You need time to recover from any addiction, that's how the brain works.
Then you also need to change something, like the way you react to specific things you experience, and the things you do when you experience them.
The brain slowly rewires itself over time.
Yes, we need time to recover from addiction. It will depend on the wishes of each gambler. Some people can be able to finish the healing process from their gambling addiction in a short time and some people are not able to finish it and instead return to gambling again, where they become increasingly addicted to gambling. This really requires encouragement from various parties so that people who are addicted to gambling can try to heal themselves and be free from their gambling addiction. The person needs to reset his brain again so that there is no desire to gamble anymore and he will do various healing sessions to recover from his gambling addiction.