Open Settings
Tap Music
Turn off Sync Library
Confirm if prompted
On Mac, open the Music app
Click Music in the menu bar
Click Settings
Open the General tab
Uncheck Sync Library
Click OK
On Windows, open iTunes
Click Edit
Click Preferences
Open the General tab
Uncheck iCloud Music Library or Sync Library
Click OK
