You can cancel anytime. Go to Settings → Account → Subscription → Manage subscription. This will take you to the App Store or Play Store where your subscription is managed.
You'll keep full access until the end of your billing period.
Can I get a refund?
Refunds are handled by Apple (App Store) or Google (Play Store), depending on where you subscribed. You can request a refund through their support.