I don't know if I was raped

So me and my best friend/boyfriend were at his house watching Netflix after I got off work on Friday and we started making out. Short and sweet things got heated and he was fingering me, and then all the sudden he's inside me and I'm hurting like a bitch because i was a virgin. I didn't really wanna have sex, but it happened. After he finished he realized I was having a panic attack (mine are silent and I can't move) so he picked me up and carried me to his room and held me trying to get me to calm down. As soon as I could talk I kept telling him I didn't want to and he started to cry and was like, "I fucked up, I'm so sorry. I didn't know." He keeps apologizing and trying to make me feel okay, but I don't know if I was raped by my best friend or not. Opinion?