please help me

Kylee
I had a bad breakup with this guy and he told me how he was talking to another girl but he asked me over like a few days later and I came and we ended up having sex. He treated me so bad and I was trying to get over him and I just did that!!! How could I do that to myself. I hate myself right now and I really really need advice or just someone to say something.