Can u still get pregnant on birth control ?

If you are on birth control can your partner ejucalate inside with you or will u get pregnant ?