This can never be perfected except through purification of heart,repentance, and its relinquishing itself from all types of false love and despicable manners. This can never be attained except through striving hard against one's soul that incites towards evil, and bringing it to account and combating the satans from among the jinn by holding fast to Allah and knowing their plots and objectives, and safeguaring oneself from them through remembrance of Allah the Exalted and seeking refuge with Him from them. Misguidance being the end result of the corruption of intent. So these two diseases are the lords of all the ailments that afflict the heart. Its cure and lies in guidance based on knowledge.
Guidance based on knowledge is to know the truth and to follow it.
The whole of the Qur'an is a cure for these two diseases and others and it contains perfect guidance. And when I become sick, He heals me. There has come unto you an exhortation from your Lord, a healing for trhat which is in your breasts,a guidance and mercy for the believers. And We reveal of the Qur'an that which is a healing and a mercy for the believers. It is a guidance and a healing for those who believe.