Your Basic membership is always free, but if you want to cancel your Premium or Infinite subscription go to Your Account and in the section Billing click Cancel subscription.

Your cancellation will be effective at the end of the current billing cycle and your account will automatically revert to a Basic membership.