Writing an analysis of a song is a lot like writing an essay about a poem. The biggest difference is that the music can affect how a song is interpreted. To analyze a song, first listen and then read the lyrics closely. Consider the song's context before you write your paper.
You know how to write a literary analysis essay only when you operate this knowledge as regards various literary genres. You have to be able to define what is the purpose of this or that writing and what is the way the author writes.