I am sorry to hear that happened to you. Love can be a fickle mistress. It might sound tough to hear right now but maybe it is good that you found out instead of ending up in a situation where she had two boyfriends for a prolonged period of time. Sometimes it is best to get these things out in the open as soonish you can break up and move on and trust that life will get better eventually