How do you get over feeling of regret?

Long short short a year ago I was dumped by the guy I lost my virginity , and I've moved on and now I just feel shame and regret. Shame for liking him to begin with and for wanting still be friends with him and regret for trying reaching out after we ended. I don't miss him and honestly feel nauseous, I don't care about him but everytime I think of him I get a heavy heart and numb, empty feeling in my stomach. I always think to myself I should've avoided him when we first met and why didn't I just leave well enough alone?
I'm thinking I feel like this because he gets the last laugh and I look frail and desperate for trying to stay in touch.
How can I get over this feeling?
How do you get over feeling of regret?
Add Opinion