Breakup

ms.
I have been dating my boyfriend for 5 years. I am madly in love with him but he is not the right person for me. I tried my best and I always end up getting hurt. I can't take it anymore. I tried to move on many times but I always end up right where I started. This time I really want to move on but he's my best friend I always find my way back. Please help. How do you move on? How do you get through a break up. I gave up everyone for him so I literally have no one to talk to or hang out with to forget about him. Any advice to completely move on and never look back?