One of the ways to control gambling addiction is to get busy. Don't stay idle because that will attract gambling all over again if you have nothing to do that will fill up the gap of idleness, you will easily fall into gambling addiction again.
Another useful way to deal with gambling addiction is to remove anything that will remind you of gambling. If it is to disconnect yourself from friends who gamble, do it. If it is uninstalling gambling apps, do it; so far, it will help you forget gambling.
Train yourself to gamble with a lesser amount you can afford to lose and don't build up many expectations from gambling