Hakim al Umma Maulana Ashraf Ali Thanvi (Allah have mercy on him) said instructing a seeker,
There are five components of perfect repentance (توبہ کاملہ) ,
1. Acknowledgement of the wrongdoing
2. Feeling remorse for this
3. Asking forgiveness
4. Reaffirming determination not to do it again
5. Planning for rectification(اصلاح) [of the blameworthy morals that led to indulgence in it].
Husn al Aziz, volume 1, part 2, p 152