Answered by Shaykh Faraz Rabbani
Question: I committed some sexual indiscretions due to some errors in judgment with respect to some company that I had begun to keep. I realize that it was a mistake, but what do I need to do to repent? I feel ashamed, guilty, and fear falling into despair.
I pray this finds you in the best of health and spirits. Be grateful that the way of the Beloved Messenger of Allah (peace & blessings be upon him & his folk)—Allah’s gift to all creation—is a way of absolute Mercy.
As such, sincere repentance wipes away all sin and all traces of the sin and all its harmful effects are wiped away by busying oneself with good, keeping good company, and learning from past errors or events.
Allah Most High says: “Say: My servants who have wronged yourselves, never despair of God’s mercy. God forgives all sins: He is truly the Most Forgiving, the Most Merciful.” [Qur’an, 39.53]
The Messenger of Allah (peace and blessings be upon him) advised, “Be mindful of Allah wherever you may be. Follow any bad deed with a good deed, and it will wipe it out. And deal with people through good character.” [Related by Tirmidhi]
Read in full: Reader on Repentance (tawba): A Reader on Tawba (Repentance)
If you have further questions, we’re at your service,
This answer was collected from Seekersguidance.org. It’s an online learning platform overseen by Sheikh Faraz Rabbani. All courses are free. They also have in-person classes in Canada.