Can you get pregnant by taking birth control?

No, birth control is intended to prevent pregnancy. You can become pregnant while on birth control, as no method is 100% effective, but it isn't the birth control that makes you pregnant.