anxious/confused

So today my boyfriend came over and last night I told him I wanted to do stuff but no sex but this morning i woke up very anxious and with cramps so I wasn’t really in the mood anymore and when he came over he kept trying to pull my pants down and I tried to get him to back off but he kept trying so I just let him and then I felt like I had started bleeding so I told him to stop and he did but now I just don’t know what to do. This isn’t his first time trying to do something and me telling him to stop and him keep trying. I have broken up with him because of it. It has happened twice now.