Tap to launch Apple Music from your SpringBoard.
From the For You tab, press the Account button at the top left.
Tap the View Apple ID button from the Account page.
Sign in with your Apple ID and password.
Tap the Manage button.
Select your Apple Music Membership from the Subscriptions page.
Toggle the Automatic Renewal switch to the OFF position. When asked to confirm the change, press Turn Off. At the end of your billing period, Apple Music will be canceled.