Bestfriend break up

Me and my ex best friend had a really messy break up and now we are not cool. Not cordial not even on speaking terms but we are on the same track team and somehow she’s friends with my ex how do I deal with her in a classy way but still standing my ground ?