Finger in butthole

So me and my boyfriend were having sex one day then he put his thumb in my butthole. It didn’t hurt while he was doing it but when we stopped and I sat down it started hurting. Is it normal for it to hurt & if I keep doing it will I get use to the pain ?