If you get pregnant on birth control, does that mean that type doesn’t work for you?

el

Say someone gets pregnant using a certain birth control pill. They use it perfectly but still get pregnant. Does that mean that pill just doesn’t work for them, or it was a fluke? Would the effectiveness rate still be the same for them if they decided to use it again?