Pain during sex?

Today I was having sex with my boyfriend (doggy style) but only in that position I would get really internal abdominal pain, can someone answer why that was caused?
Note: this is the first time it happens because I'm new to sex.)