Open the Apple Music app on your device
Find the song you want to download
Tap the More button or the Download button next to the song
If needed, add the song to your library first
Make sure you are signed in with an active Apple Music subscription
Check that your device has enough storage space
Wait for the download to complete
Open the Downloads or Library section to access the song offline
