Thauban (May Allah be pleased with him) reported:
Whenever the Messenger of Allah (ﷺ) finished his Salat (prayer), he would beg forgiveness three times [by saying, ‘Astaghfirullah’ (3 times)] and then he would say: “Allahumma Antas-Salamu, wa minkas-Salamu, tabarakta ya Dhal-Jalali wal-Ikram. (O Allah! You are the Bestower of security and security comes from You; Blessed are You. O Possessor of glory and honour).” Imam Al-Auza’i (one of the subnarrators) of this Hadith was asked: “How forgiveness should be sought?” He replied: “I say: Astaghfirullah, Astaghfirullah (I seek forgiveness from Allah. I seek forgiveness from Allah).”
As the Hadith mentions, prophet Muhammad(SAW) recited ‘Astaghfirullah’ 3 times and then recited the Dua mentioned in the Hadith. Get into practice of reciting this.