Condoms and pull out

Is using condoms WITH the pull out method a safe and effective way to prevent pregnancy? I’m unable to go on birth control pills but I do not want to get pregnant!