<human>: Provide a brief overview of the text.

So earlier today, my girlfriend and I were thinking of ditching school together. I ended up not being able to hang out with her, and she still didn't want to go to school. So she drove to her ex's house and slept there for awhile. I know for a fact that he still harbors feeling for her. She told me around noonish what she did and I felt so betrayed. I've told her numerous times that I don't like that she maintains contact with her ex. She then came over later and we talked about it. I told her how angry I was, but I still love her and want to be with her. Then while we were talking her ex texted her and told her how he loved her and wanted to get back together. He knows that she is dating me and I was inches away from driving to his place and beating the snot out of him, but I didn't. Anyway I told her that if she doesn't tell him to never speak either her again I'm going to break up with her. She did as I asked while I watched, saying she never wanted to speak with him again. Then she blocked him. Overall, I'm happy how things went down, but whenever I think of it I still get incredibly mad and upset. Any advice for what I should have done or should do?
<bot>: My girlfriend slept at her ex's house today instead of going to school, we talked and she has ended contact with him, but I need more advice on what to do or should have done.