Log in to your account at HBOMax and go to the billings and payment page. From there, click on the Cancel Plan option. Remember that, there is a fixed billing cycle and if you cancel your plan after crossing that, you will be charged for the next month which is non-refundable. So, cancel your plan before the billing cycle ends.