Many muslims have wasted their lives following desires, great evils, and bringing humiliation upon themselves. Then Allah guides them to sound belief, learning, praying, asking for forgiveness, and good actions. How should they deal with reminders from their nafs and others about their past?

Ustadh AbdulAziz al-Haqqan
Leave these thoughts and do not sit with them. Repentance wipes out what came before it. We should help each other in repentance and never look back on these sins, and if some people do not respect that, you can leave them and sit with those that increase your iman not decrease it.