I think my situation might be a little too specific for anybody to really help me with but man I have really fucked things up :/
(this is kinda long, sorry)
Basically (it's a lot more complicated than this), my best friend started going out with the girl who I was painfully in love. At that point, I had only known her for about two weeks, but, and it's kind of hard to explain, she was the only thing I ever thought about since the moment I met her. At first I thought it was stupid to like somebody so much that I had only just met, but in those weeks, her being in three of my classes, I became very close with her, and we spent a lot of time doing homework together and talking online. However, I didn't really feel like I'd known her long enough to act on my feelings, her being a little shy and not exactly dating often.
Except around that point, I noticed her and my best friend starting spending a lot of time together in private. I pretty much realized I was doomed because she had known my friend for a full year and he had just recently began showing a lot of interest in her and almost everybody was speculating he was going to ask her out, but I was really powerless to do anything about it soooo yeah that sucked and he did in fact ask her out that week.
But anyway I decided I would try to move on with my life and try my best to stop liking this girl... but that didn't exactly work. We became very very very good friends, talking on the phone and hanging out often, which I could tell made my best friend a little uncomfortable but I honestly didn't care. I still made an effort to keep my friendship with him going, even though it was clearly a little strained.
I existed like that for about 7 months until I thought about it again and realized I had really not gotten over anything, I was still ridiculously in love with this girl and that was the real reason I had become such good friends with her, those had always been my real intentions. At that point I got really depressed, and, most of all, I got really angry at my best friend. I know he hadn't really done anything wrong but I didn't care, I really just couldn't stand him. I still don't exactly know what it was that prompted this sudden change but I really just hated his guts, so I started avoiding him, which because we weren't in any classes together, was incredibly easy.
And that right there was the end of our friendship. Its been so long (2ish months I think) since we've actually spoken that it is beyond ridiculously awkward, especially because we both (I think) know what it is about. The other issue is that recently, I haven't been able to deal with talking and hanging out with this girl because it makes me too unhappy to think of how much she loves my best friend and how we're never going to be together, so I also started to talk less to her - we always talked on the phone for hours the night before physics tests but for that next test I kept my phone off all night. Anyway I guess she got the hint because now we are practically only acquaintances.
And I know I inflicted it upon myself, but all of that combined still continues to make me incredibly miserable, especially because even though I willingly cut off my friendship with this girl, she is STILL all I think about. Also, this has kind of messed up my circle of friends and pretty much most of my friends have been acting weird to me or talking to me less, mostly because of how I curbstomped my friendship with my best friend (who I still haven't talked to)
so I don't really know what anybody can tell me to help, but any advice at all I guess would be good. Mostly I just need to get over this girl I think (although I've been trying for like... a year :/) because at this point I have fucked up everything else beyond the point of no return.