Email: 24 Hour Fitness doesn't publish a cancellation email. Use the online page, your club, or the official contact page (24hourfitness.com/contact_us).
Letter: to Your home club. 24 Hour Fitness doesn't list a mail option. Use online or in club instead if you can.
In person: Your club: ask a team member to cancel, and get written confirmation.
Phone: Use only numbers on 24hourfitness.com. Third-party "cancellation hotlines" aren't 24 Hour Fitness.
If you get stuck: Keep every confirmation. If you're charged after a confirmed cancellation, dispute it with your card issuer and attach the proof, then complain to your state attorney general and the BBB. Don't just cancel your card: the contract can still go to collections.