Turn off Auto Renew
If you aren't sure that you want to keep the Apple Music service at the end of the free trial, you can turn off auto-renew right now so that you don't need to go back and make a change later.
Open Apple Music on your iPhone or iPad.
Tap on your profile icon in the upper left.
Tap on View Apple ID and enter your iTunes password.
Scroll down and tap on Manage under the Subscriptions Menu,
Tap on Automatic Renewal to toggle Off.
This is also where you can switch plans, depending on what you prefer to subscribe to. You can cancel the Apple Music subscription and still use the free trial with access to all the paid features until the date shown at the top of this screen.