First time pain

Okay so I had my first time recently and it was really nice but I bled apparently and like there was like a “rip” on the outside of my Vagina afterwards and it was really painful. It’s healed up now but does anyone know why that happens or if it will happen again? I don’t know what to do about it or how to bring it up to my boyfriend.