blacked out after anal sex

Okay so my boyfriend and I were having sex in the tub while taking a bath together and I had the idea of trying anal at first when he put the head in I was fine then it went all the way in and I got this pain and my ears started ringing and I kinda blacked out can anyone help??? Oh and the craziest thing was that IT FELT LIKE IT LASTED 10 min but I asked him how long was I messed up for and HE SAID ABOUT 30 sec or  less THAN A MINUTE!!!!!!