Can't get over my ex, help!!!

I'm 17, my Ex and I were bestfriends for 13 years , before we started dating. We dated for a year , and then broke up because he moved far away. We later decided that we loved each other too much to end it , and tried to maintain a long distance relationship , but it was too much. So we decided to brake up until we both finished high school , and so where it goes from there. I'm entering my senior year , and now he has a new girlfriend.....but I'm still not over him.