If you got pregnant on one method of birth control, would you use it again?

If you tried one bc and liked it and used it for over a year, but got pregnant and miscarried, would you try a different one? Or would you go back to that one?