We need to sincerely seek forgiveness and pardon of Allah (SWT) for our sins, and decide not to repeat our mistakes and sins and perform our duties and avoid sins.
Allah Says in Quran: Say: O My servants who exceeded the limits and committed sins, never lose hope from the Mercy of Allah, surely Allah Foregives all the sins, Verily He is The Fore-giver, The Merciful. (Sura 39, verse 53).
Wassalam.