I can’t get over my eX

How do I get over my ex that I see everyday in some of my classes and I sit next to. I broke up with them in the first place because her and my bsf liKed each other and are still really close and I have to see it everyday