Please follow the steps below.
For Nintendo Switch users:
1. Launch Nintendo eShop.
2. Select the user icon (account information) in the top-right corner.
3. Under “Your Subscriptions”, select “Stop Automatic Renewal”.
For Nintendo Switch 2 users:
1. Launch Nintendo eShop.
2. Select the user icon (account information) in the top-right corner.
3. Select the account ID on the left side of the screen, then scroll down and select “Stop Automatic Renewal”.
If you are using the App Store:
To cancel: https://support.apple.com/en-us/118428/localeselector
To change your subscription: https://support.apple.com/en-us/118448/localeselector
If you are using Google Play:
https://support.google.com/googleplay/answer/7018481