The Method of Taubah (or Tawbah)
The method of obtaining this quality is that one should ponder over all the warnings and punishments for the different sins and evils that have been mentioned in the Quran and Hadith.
He should think of them and ponder over them. In doing this, his heart will be disinclined to commit any sin. At such a time, the person should also make a verbal taubah. He should also complete all the salats, fasts, etc. that he has missed. If he has displayed any shortcoming in fulfilling the rights of certain persons, he should seek their forgiveness or fulfil them.
As for the sins that he has committed in passing, he should express remorse over them, adopt the expression of a crying person and earnestly seek the forgiveness of Allah.