The Prophet ﷺ said: there is no man who commits a sin, then rises, purifies himself, prays two rakʿah, and seeks Allah's forgiveness, except that Allah forgives him — then he ﷺ recited: “And those who, when they commit an immorality or wrong themselves, remember Allah and seek forgiveness…” (Āl ʿImrān 3:135). (Abū Dāwūd & Tirmidhī — ḥasan).

العربية: عن أبي بكرٍ رضي الله عنه أنّ رسول الله ﷺ قال: «ما مِن رجلٍ يُذنب ذنبًا ثم يقوم فيتطهّر ثم يصلّي ثم يستغفر الله إلا غفر الله له». (الترمذي وحسّنه).

When you slip, don't despair — make wuḍūʾ, pray two rakʿah, and turn to Allah.