Having sex

When having sex and my boyfriend goes deep in me why does it hurt around the lining of my stomach?