You are free to cancel your membership anytime, there is no minimum term.
You can cancel directly via your payment method.
iTunes please see here
https://support.apple.com/en-gb/HT202039
Google Play here
https://support.google.com/googleplay/answer/7018481?co=GENIE.Platform%3DAndroid&hl=en
For PayPal
Please login to your account and re-visit this page
For Stripe
Please login to your account and re-visit this page