anyone you end up pregnant on the pill & is it risky for the babies health??

Can anyone answer this whether they’ve gotten pregnant on the pill & how it happened because I think this is what’s happening to me right now and I’m only 16...