pregnant on birth control?

how did you find out you were pregnant while you were taking birth control pills?