In Ontario you can self exclude from all land based casinos in the province. They were easy to contact (Playsmart is the name), very respectful, discrete and super helpful. I think there is something like that in every Province.
Next, get blocking software on all your electronic devices. I recommend you start with BetBlocker or GamBan.
It felt like a huge weight was lifted from my shoulders when I did this. No system is perfect and it didn’t stop the urger to gamble. It did give the the time I needed to deal with the withdrawl and start putting my life back together.