Cancellation takes effect at the end of the period already paid: you keep access until then, and nothing more is charged afterwards.
Signed in to the app? You can also do it from Settings → Manage subscription.
You can still change it before notifying it.