And you can opt to be banned from wherever gambling site/house you play. This way you can be sure that you can't play whatever happens
How do you want to do that? You will ask site admin to ban you or you do something which site can ban you?
But if you change mind then you got many ways to play again with a different account so if you want to stop then you should mentally need to prepare first. If you decide then no one can influence you to gamble again.