Help and advice

If I'm in birth control and I never take the pill late, also use condoms. my boyfriend and I were having sex and the condom broke but he also pulled out and came on my lower back, so I should be safe right? since he pulled out and I used to methods of birth control ?