Selam Aleykum I really don't understand what the nafs is
Nafs (pl. Anfus or Nufus) lexically means soul, the psyche, the ego, self, life, person, heart or mind. (Mu'jam, Kassis)
Although some scholars have classified the Nafs up to 7 stages, there is agreement among Ulama' that in the Qur'an, Allah has described at least 3 main types of the Nafs. And these are in rank from the worse to better: Nafs al-Ammara Bissu' (the Nafs that urges evil), Nafs al-Lawwama (the Nafs that Blames) and Nafs al-Mutma`inna (the Nafs at Peace).
(Chapter 12 v. 53 in the Tafsir of al-Tabari: Jami' al-Bayan fi Tafsir al-Qur'an, 30 vols., Bulaq 1323 & also in Imam Baghawi's Tafsir: Lubab al-Ta'wil fi Ma'alam at-Tanzil, 8 vols. Cairo, 1308)
A summary of these states of the Nafs are given by Imam Tabari in his Tafsir of Surah Yusuf verse 53:
1. Nafs al-Ammara Bissu' (The Soul which Commands):
This is the Nafs that brings punishment itself. By its very nature it directs its owner towards every wrong action. No one can get rid of its evil without the help from Allah. As Allah refers to this Nafs in the story of the wife of al-Aziz (Zulaikha) and Prophet Yusuf (s):
"The (human) soul is certainly prone to evil" (12:53).
"And had it not been for the grace of Allah and His Mercy on you, not one of you would ever have been pure; but Allah purifies whomever He wishes, and Allah is Hearing, Knowing." (24:21)
This Nafs resides in the world of the senses and is dominated by earthly desires (Shahwat) and passions….
Evil lies hidden in the Nafs and it is this that leads it on to do wrong. If Allah were to leave the servant alone with his self, the servant would be destroyed between its evil and the evil that it craves; but if Allah grants him success and help, then he will survive. We seek refuge in Allah the Almighty, both from the evil in ourselves and from the evil of our actions.
2. Nafs al-Lawwama (the Soul that Blames):
Allah refers to this Nafs,
"And I do call to witness the Nafs that blames" (75:2).
This Nafs is conscious of its own imperfections.
Hasan al-Basri said, "You always see the believer blaming himself and saying things like 'Did I want this? Why did I do that? Was this better than that?"….
3. Nafs al-Mutma`inna (the Soul at Peace):
Allah refers to this Nafs,
"O Self, in complete rest and satisfaction!" (89:27).
This Nafs is tranquil as it rests on the certitude of Allah.
Ibn al-Qayyim also mentioned the states of Nafs:
"The Nafs is a single entity, although its state may change: from the Nafs al-Ammara, to the Nafs al-Lawwama, to the Nafs al-Mutma`inna, which is the final aim of perfection….
It has been said that the Nafs al-Lawwama is the one, which cannot rest in any one state. It often changes, remembers and forgets, submits and evades, loves and hates, rejoices and become sad, accepts and rejects, obeys and rebels.
Nafs al-Lawwama is also the Nafs of the believer….It has also been mentioned that the Nafs blames itself on the Day of Qiyamah - for every one blames himself for his actions, either his bad deeds, if he was one who had many wrong actions, or for his shortcomings, if he was one who did good deeds. All of this is accurate.
(Madarij as-Salikin fi Manazili Iyyaka Na'budu wa Iyyaka Nasta'in, vol. 1 pg. 308)