Speak to your bank about blocking transactions from online gambling sites.
You could also use an app like Betblocker or Gamban to block access to online gambling websites.
You can set your spending limits online in your account settings, block yourself from online games or exclude yourself from purchasing Lotto games in retail outlets.
Lotto NZ offers ways to limit your spending.