Period help

I've been with my boyfriend for almost 3 years. We have unprotected sex but I have never got pregnant. My periods are 3-4 days long and are 24 days apart. I'm not trying to get pregnant I'm actually getting on birth control but why I have not ended up?