Help!!

Okay I have had a big crush on my guy best friend for years and I told him how felt about him and he said liked me to and we should talk more then the next minute I was on Facebook and find he ask a girl out and they are dating I feel so stupid. I can't get over him ice tried several times. Help how do I get over him. I feel heartbroken that he didn't take me seriously.