Nervous

I had sex with him without any contraceptives but he pull “his” before it came out. Was it safe?