What the names mean
The hymn is known by two names. Atma Shatakam can be read as six verses on the Self, since atma is the Self and shatakam points to a set of six. Nirvana Shatakam uses nirvana in the sense of complete freedom and peace. Both names are in common use, and printed editions and recordings use either one.
Tradition credits the hymn to Adi Shankaracharya, the teacher associated with the revival of Advaita Vedanta, the view that the individual self and the ultimate reality are not two. It is worth saying plainly that this attribution comes from tradition. Reference works that discuss the text describe the Shankara authorship and the story below as traditional accounts and do not offer manuscript evidence that settles the question. If you want to be careful, say that the hymn is traditionally attributed to Shankara.
The traditional story of Shankara and Govindapada
The story told with this hymn goes as follows. A young Shankara, said in some tellings to be about eight years old, travelled in search of a teacher and reached the banks of the Narmada river. There he met a sage named Govinda Bhagavatpada, who asked the boy who he was. Instead of giving a name, a family or a place, the boy answered in six verses, each saying that he was none of the things people usually point to when they say 'I', and each ending with the claim that he was auspicious awareness itself. Govindapada accepted him as a disciple.
The details differ between sources. One modern article on the hymn gives no age and no place for the meeting, and encyclopedia entries present both the guru and the meeting as tradition. So the safest way to tell the story is as a traditional account: it explains why the hymn is read as a reply to the question 'who are you?', and that is the main thing the story does for the reader.
Verse by verse: what the hymn denies
The first verse sets the pattern. The speaker is not the mind, the intellect, the ego or memory, and not the ears, tongue, nose or eyes, and not the space, earth, fire or air. The second continues in the same way with the vital breath, the layers or sheaths of a person, and the organs of speech, hand and foot. The list is long on purpose. Whatever a listener might be tempted to name as the self is set aside, one item after another.
The third verse turns from the body and senses to feelings and aims. Hatred and attachment, greed and delusion, pride and jealousy are not the speaker, and neither are the four goals of life that people pursue, dharma, wealth, desire and liberation. The fourth goes further and says that merit and sin, pleasure and pain, mantras, pilgrimages, the Vedas and sacrifices do not define the speaker either. It also denies the divisions of enjoyment, the thing enjoyed and the one who enjoys.
The fifth verse speaks of fear of death, of social divisions, of father and mother, birth, relatives, friends, teacher and student. The sixth verse describes the speaker as formless and without division, present everywhere and beyond the reach of the senses, neither liberated nor bound. Two small variants appear in printed texts, in the fifth and sixth verses, and this site records them on the stotram page and in its audit notes. They do not change the sense of the verse.
The refrain: Shivoham
Every verse closes with the same line, which says that the speaker is the form of awareness and bliss, Shiva, Shiva. Shivoham is read as Shiva and aham, I am Shiva. Here Shiva is not mainly a god with a form and a story. The word shiva also means auspicious, and the Advaita reading takes it to name pure awareness, which is said to be the same in everyone. The line is the positive statement that follows all the denials. After setting aside everything that changes, the hymn names what is left.
This is why the hymn is often described as a method of negation. By denying one item after another it points the mind away from its usual descriptions of itself. A reader who is not from an Advaita background can still follow the pattern, and devotional readers sometimes take the closing line as a statement of closeness to Shiva instead. The text itself is short enough that each reader can decide how to hear it.
How people use the hymn
Nirvana Shatakam is mostly used for quiet recitation and reflection, not for a fixed ritual. People read it slowly, one verse at a time, and stop at the denials to notice what they are being asked to set aside. Others chant it in a group, since its short lines and steady refrain are easy to follow. It is also sung widely, and recordings by well known singers are easy to find.
There is no rule that fixes a time, a number of repeats or a particular day. If you wish to link it to worship of Shiva, many people recite it on Mondays or during Maha Shivaratri, but that is a custom and not a requirement. Do not expect any particular outcome from reciting it. Read the meaning first, then chant at a pace where you can follow the words.
Reading it with care
A few points help a new reader. First, the verses are not a rejection of family, duty or worship. They are a statement about what the word 'I' finally refers to, and Advaita teachers say the hymn is meant to be practised alongside ordinary life. Second, the Sanskrit is compact, so a literal word by word translation can sound cold. Read a good commentary or this site's meaning for each verse. Third, if you are a beginner, begin with the first two verses and the refrain, and add the rest as you become familiar with the sound.