You can turn off the auto-renewal of your subscription from App Store or Play Store settings 24 hours before the end of your current plan.