Dealing with losing a relationship

My boyfriend and I of 5 years just broke up. And I am hurting more than I knew was possible. We grew up together. We were best friends. And he hates me for leaving, he says I never cared and that I wouldn't care what happened to him. I don't know how to get past this breakup. It doesn't feel real to me. I'm so ashamed but I had to leave because I saw no future with him and being an adult now, I need a future. I was not wanting to be intimate or close anymore either, I was frustrated a lot. I have no friends, male or female. Nobody to care about me. I'm just alone now because he was all I had. What can I do to get through this?