Tap the notification to open the song's track screen in Shazam. Touch and hold the notification to display the song's cover art, then tap the cover art to open the song's track screen in Shazam (or tap Listen on Apple Music to open the song in Apple Music).