Friend's ex

I did something horrible, i slept with my friend's exboyfriend . He was my best friend. She asked me and i didn't deny it. I've apologized but she called me selfish and i feel really terrible