Does birth control always work??

Has anyone been on birth control and still got pregnant while having unprotected sex???