Is this safe??

Is using a condom and pulling out okay? I’m not on a pill or anything.