How to react

My now ex boyfriend broke up with me and then I found out he started dating my ex best friend.

Honestly I'm crying because I've never been so sad. And I don't know how to handle it.