Finger in the butt????

I just had the best way sex ever, but for the first time ever he put his thumb in my butt, is it suppose to hurt after? My butt kinda stings a little