You can cancel the subscription anytime you want.
Here’s how to cancel a subscription in both the Google Play Store and the App Store:
For Google Play Store:
- Open the Google Play Store app.
 - Tap your profile icon in the top right.
 - Select Payments & subscriptions, then tap Subscriptions.
 - Find the subscription you want to cancel.
 - Tap Cancel subscription and follow the instructions.
 
For App Store (iOS):
- Open the Settings app on your device.
 - Tap your name at the top to access your Apple ID settings.
 - Tap Subscriptions.
 - Find the subscription you wish to cancel and tap it.
 - Tap Cancel Subscription and confirm your choice.
 
This will stop future billing, but your subscription will remain active until the end of the current billing period.