Repentance of prohibited things
A Muslim should be so careful to avoid these major sins and aforementioned prohibitions, for he will be recompensed in the Hereafter for any act he does, with reward for goodness and punishment for evil.
But if a Muslim falls into any of these prohibitions, he should hasten to repent of it and turn to his Lord and ask for His forgiveness. If his repentance is sincere, he should give up the sin, feel regretful for doing it, resolve not to repeat it, and if the sin involves injustice to someone, he should return the right to its owner or ask him for pardon. This way, his repentance will be a true one and Allah will accept it and forgive his sin. Indeed, a person who truly repents of a sin is like one who has not sinned in the first place.
And he should often ask Allah for forgiveness. Indeed, all Muslims should frequently ask for Allah’s forgiveness for their misdeeds, small or great. Allah Almighty says:{I said, ‘Seek forgiveness from your Lord. Indeed, He is Most Forgiving.}[Surat Nūh: 10] Frequently asking Allah for forgiveness and returning to Him in repentance is a trait of the humble believers. Allah Almighty says:{Say [Allah says], “O My slaves who have transgressed against themselves, do not despair of Allah’s mercy, for indeed Allah forgives all sins. He is indeed the All-Forgiving, the Most Merciful. Turn to your Lord [in repentance] and submit to Him before the punishment comes upon you, for then you will not be helped.”}[Surat az-Zumar: 53- 54]