Open Billing in the app:
Upgrade or switch: pick a plan and confirm. Changes to an active subscription are prorated by Stripe.
Cancel: use Manage subscription to open the billing portal. Your plan stays active until the end of the paid period.
After a downgrade or cancellation, links beyond your new limit stop redirecting until you are back within the limit. The links and their stats are kept, so upgrading again restores them.