how do I recover the music app after I reset the settings

I started using the music app on iphone7 but I reset the setting and I lost all the music and the system tells me that my time had expired I just started using it 3 days ago
Log out of your icloud account and login again.
Also go to settings-> music and turn off the icloud music library and turn it on again.
I had the same problem. The above solution worked for me

Original thread: https://forums.imore.com/threads/how-do-i-recover-the-music-app-after-i-reset-the-settings.378394/