People often forget about a very simple but very powerful "DUA" that is
"ASTAGFIRALLAH".
Our holy Prophet Muhammad (PBUH) Recite this at least 100 times a day. When a person say "ASTAGFIRALLAH" Allah get please with him a lot and forgive him due to his mercy.
Our beloved Holy prophet Muhammad (PBUH) said that.....
"The one who seeks forgiveness for Muslim males and females from Allah 26 or 25 times everyday,Allah will count this person in those who's dua is accepted, and through the barakah of whom those on earth gain Rizq. "
So when ever we commit a sin we should recite this dua with this belief that Allah Almight will forgive us and I will not commit any sin again.