Was this rape?

Last night I was hooking up with this guy. We have been hooking up for over a year now. When we were in doggy he was rubbing my butthole and then ended up putting his fingertip in it. I have never done anal before, he accidentally stuck it in the wrong hole once but it was just the tip, but that alone was painful enough to turn me off on the idea of anal. I didn’t mind the finger, but a few minutes later I felt a huge amount of pressure and pain and realized his whole penis was in my asshole. I do not want to say that I told him to stop because I’m still kind of confused on everything, but I am am almost positive I did tell him to stop when I said his name and stop. I was also pushing on his thigh to get him out of me. I remember my eyes being watery and just feeling helpless. I am not trying to call it rape if its not, I just don’t know how to feel about this.