Your membership is handled via the respective store and their local terms apply.
If you're using iOS, do the following:
Open the Settings app.
Tap your name.
Tap "Subscriptions".
Tap the subscription.
Tap "Cancel Subscription".
You might need to scroll down to find the "Cancel Subscription" button. If there's no cancel button or you see an expiration message in red, the subscription is already cancelled.
Here's how to do it on Android:
Open the Google Play Store.
Tap your Profile.
Select "Payments & subscriptions".
Tap "Subscriptions".
For the subscription you want to cancel, tap Manage.
Tap Cancel subscription.
Pick a reason in the confirmation pop-up.
Tap Continue.
If you have a subscription for an app and the app is removed from Google Play, your subscription will be cancelled. Previous subscriptions canโt be refunded.