If you got pregnant by accident on the pill

What was the brand you were using? And how long were you using that brand for?