In Settings → Subscription, Cancel button. The subscription stops at the end of the period already paid: you enjoy it until then. The current period isn’t refunded: monthly means no commitment; annual runs until the end of the year paid.
Changed your mind? While the period runs, Resume subscription undoes the cancellation, with no new payment.