The steps to break the habit of sin are sincere repentance by recognizing sins and should have a determination to change our habits.
اللَّهُمَّ حَبِّبْ إِلَيْنَا الْإِيمَانَ وَزَيِّنْهُ فِي قُلُوبِنَا وَكَرِهَ إِلَيْنَا الْكُفْرَ وَالْفُسُوقَ وَالْعِصْيَانَ وَاجْعَلْنَا مِنَ الرَّاشِدِينَ اللَّهُمَّ تَوَفَّنَا مُسْلِمِينَ وَأَحْيِنَا مُسْلِمِينَ وَأَلْحِقْنَا بِالصَّالِحِينَ
O Allah, make faith beloved to us and beautify it in our hearts, and make unbelief, wickedness, and disobedience hateful to us, and make us among the rightly-guided. O Allah, let us pass away as Muslims, live as Muslims, and let us be joined with the righteous.”
Source: al-Adab al-Mufrad 699
Grade: Sahih (authentic) according to Al-Albani
We should take the Prophet (SAW)’s advice and turn to Allah frequently, as he said “O people! Repent to God and ask forgiveness of Him, for indeed I repent a hundred times a day”. Ṣaḥīḥ al-Bukhārī 5948
Once we repent, we need to strive to never return to the sin we committed. We do this by instilling in our hearts fear from God’s punishment and longing for His rewards.
Our lesson is to pray to Allah (Swt) and make sincere dua that He enable us to make sincere repentance and make our hearts firm upon His obedience.
This dua helps repel those feelings which we all are guilty of. Let’s learn and memorize it.