anal sex

so me and my boyfriend have really never talked about having anal but last night when we had hitting it from the back he puts his thumb in my butt and then we start having anal kinda just like out of no where i can say it hurt but i kinda enjoyed it does it hurt every single time ????