Regret

It all started a year ago. I got into an intimate relation with a friend. it happened for long. We were good friends too. we did most of the activities together. After her marriage, I wanted to end this. But i was obsessed. I noticed she distancing herself from me. I was sad and angry. I mistakenly threaten her. I started calling her many times, texted her. It was just obsessed. I kept looking at her FB profile. I missed her so badly. I was the reason, there is an misunderstanding between her and her spouse. I regret. I asked her for forgiveness. But this guilt is still within me. I promise myself not to talk to her, but i do. i really don’t know what the hell is happening. I’m out of control. i have broken sleep schedules. No alertness. I wish to move on. Please help!!!!!!!!!!!!