Period and Sex?

So I had sex with my boyfriend on the second day of when my period is supposed to start. I'm on birth control and it shortens my period, so I don't get very long ones. But my period is just started and I was wondering if it was possible to get pregnant, even though I am on birth control.