I too was in your situation before. I did what cerby did ^, and cut ties, but sadly the cutting of ties wasn't so immediate. I was an idiot who didn't realize she was never really interested in me as a potential mate rather than just a friend. When I was about to spring the question in asking her out, I found out from a friend that she had been dating someone ( need I mention that she claimed to her friend that she was going to tell me but never did). And yeah I was hurt for the longest time, I felt like shit in the morning, couldn't have proper eating patterns and started doing bad in school. And for some reason in that hurting process I was still acting as if I still had some sort of chance and still acted as if it didn't phase me even though it did. Until one day, in the hurting process, I just stopped talking to her. I erased everything that reminded me of her and pursued my personal goals. Doing so got me on the academic deans list and referred by my music professor as a musician to collaborate with. This lead me to get over the whole situation. The time apart made me realize how stupid I was to not see the signs and so now I can't help but laugh. I eventually re-connected with her (when she messaged me one day) to which I think she knew what I needed to do to be back to my normal self.
You are already steps ahead in knowing what to do. Cut ties, leave yourself occupied to things that make you happy and within no time, you'll be over it.
[SIGPIC][/SIGPIC]so you lost a limb but hell, you will heal in time.