If you purchased a one-off Premium or Milestone board, there is no need to cancel it because you are not on a subscription as it was a one-time purchase.
If you want to cancel a subscription (Premium Package, Business plan, or Enterprise plan) - you can do so directly from your account page. You will retain access to all the features and benefits of your plan until your lapsed renewal date.