Summarize:

If you have an iPhone or an iPad on which you're logged in with an Apple ID that you've never used to purchase an Apple Music subscription, you can try Apple Music for free for three months.  Apple Music allows you to download and listen to a huge selection of songs for free. At the end of the three months, you'll need to pay for any additional months or cancel your membership. Unfortunately, this is more of a quick fix than a long-term solution—Apple Music songs will be deleted from your iPhone if you cancel your subscription. Tap the Settings app icon, which resembles a grey box with gears on it. It's near the middle of the Settings page. This switch, which is near the top of the page, will turn green {"smallUrl":"https:\/\/www.wikihow.com\/images\/1\/15\/Iphoneswitchonicon1.png","bigUrl":"\/images\/thumb\/1\/15\/Iphoneswitchonicon1.png\/46px-Iphoneswitchonicon1.png","smallWidth":460,"smallHeight":300,"bigWidth":"46","bigHeight":"30","licensing":"<div class=\"mw-parser-output\"><p>I edited this screenshot of an iPhone\n<\/p><p>License: <a rel=\"nofollow\" class=\"external text\" href=\"http:\/\/en.wikipedia.org\/wiki\/Fair_use\">Fair Use<\/a><br>\n<\/p><\/div>"}, signifying that you've enabled Apple Music in your iPhone's Music app. If this switch is already green, Apple Music is enabled in the Music app. You'll find it below the "Show Apple Music" switch. A pop-up window will appear. It's at the bottom of the pop-up window. If you don't have this option, you cannot use Apple Music for free on your current Apple ID account. This pricing option is at the top of the menu. It's at the bottom of the screen. Scan your Touch ID fingerprint, or type in your Apple ID password, then tap Sign In. If prompted, tap the card or payment method you want to use with Apple Music. You won't be charged now, but this information will be used to pay for Apple Music in three months. If you don't have any payment information on file, tap Continue when prompted, then enter your payment information. Once you've entered your payment information, you'll just need to complete the final steps of the Apple Music setup:  Select at least two genres you like. Select at least three artists you like. Follow any other on-screen instructions. Although your music will be removed at the end of the three-month trial if you choose not to terminate your membership, you can listen to any amount of music in the Apple Music library:  Open your iPhone's Music app. Tap Search  Tap the search bar at the top of the screen. Tap the Apple Music tab. Enter a name and tap Search  Tap ＋ next to a song (or tap an album and then tap +ADD) to download the song.
Understand when you can use this method. Open your iPhone's  Settings. Scroll down and tap Music. Tap the grey "Show Apple Music"  switch. Tap Join Apple Music. Tap Try It Free. Tap the Individual option. Tap Start Trial. Enter your Touch ID or Apple ID password. Select a payment method. Complete the Apple Music setup. Download any music you like.