First time anal

So recently, very recently, an hour ago, me and my boyfriend were having sex. We were in the doggy position when it accidentally went into my rectum. I immediately pushed him away and ran to the bathroom crying. Does anyone have any tips for me? He recked my rectum. Will it go back to how it was before?