Rape?!?!

So the other day I decided to hang out with one of my guy friends. I was having a really rough day and thought he could help. As soon as we got back to his house, I was laying on the couch. He ripped my pants off, and while I was screaming and punching him, he stuck 3 fingers into me. I'm conflicted because the next day I acted so calm, and didn't even realize that it could be rape until the next morning. 
Was this rape? And what should I do?