I was listening to a song by Lauren Daigle and it said "You plead my cause, you right my wrong, you break my chains, you overcome" and I completely agree with it's message. Although, most of the time your sin doesn't only hurt you, it involves those closest to you and immediately connected to you.
When you ask God for forgiveness He drops it and you are made new but humans will be humans and it takes time to forgive and forget. You can't expect everyone around you to immediately forget the hurt & pain you have caused.
The first step I would suggest taking in order to gain reconciliation is to apologize and admit your fault in whatever happened. Acknowledge that it happened, the worst thing you can do is act like you never did anything wrong. Once you have asked for forgiveness there isn't much else you can do but don't expect them to get over it immediately. Give them grace and understanding, they might want to ask you questions about why you did what you did and that is perfectly ok.
I'm praying for whoever reads this that whichever side of sin you're on that you would give your heart to Christ and let Him guide your actions and reactions. This world can be ugly and the people in it can be ugly but life is short and there are SO many great people out there to spend your life with. If someone continually hurts you and brings you down it's ok to create distance.