Can you become pregnant while taking the birth control pill?

Yes,if you miss a day without taking the pill. My girlfriend got pregnant while taking the pill