Not sure if I consented or not or what to think about this..

So, this past weekend, one of my friends (a guy) came and crashed at my place since he had a work meeting in town. This is the first time I've had anyone stay the night so I was nervous, but he was cool and I didn't worry too much. So when he gets here, we had a couple of drinks (we were pretty drunk). So anyway we stayed up talking and stuff, but eventually we decided we needed to sleep. So I brushed my teeth and got in bed. He was already passed out when I came in, so I laid down and went to sleep. Now all I remember is bits and pieces of that night. I'm not sure if that's because I was passed out and woke up those times or because of the alcohol. But what I do remember is him repeatedly trying and succeeding at touching me all over, and he even fingered me at least once. I do remember saying it hurt and telling him multiple times throughout the night that I couldn't do it and I didn't want to and I'm pretty sure he just kept going after stopping for a little bit. I've never done anything at all and he knew I didn't want to but I know it's my fault. I shouldn't have said yes when he asked to crash at my place, and I shouldn't have gotten drunk. I just am really struggling with how to think of all of it. It's made my anxiety and depression harder to deal with and I've started cutting again. What do you guys think of the situation?