Hi AkshayanMusic,
We recommend you try the steps in the link below since you cannot connect to the Apple Music app.
If you can't connect to the App Store, iTunes Store, or other Apple services - Apple Support
To perform the steps in the article we suggested above, click and open the link, read the subheadings below, and try each step.
1) Check the system status page
2) Make sure that your device is connected to the internet
3) Update your software
4) Check the date and time
The reason why we are recommending the steps above is because they will show you what to do if you see a "Cannot connect" message, if an app won't load anything, or if content stops downloading.
If you’re still experiencing the same issue, then we recommend that you contact Apple Support directly so that they can work with you to find a solution.
You can reach them by clicking here: Apple Support or calling the most local number in your region: Contact Apple for support and service
Thank you for participating in the Apple Support Communities.
Cheers!