The withdrawal method of contraception (coitus interruptus) happens when you take the penis out of the vagina and ejaculate outside the vagina to try to prevent pregnancy. The goal of the withdrawal method — also called "pulling out" — is to keep sperm from entering the vagina.
Using the withdrawal method for birth control requires self-control. Even then, the withdrawal method isn't an especially effective form of birth control. Sperm may enter the vagina if withdrawal isn't properly timed or if pre-ejaculation fluid contains sperm. The withdrawal method doesn't offer protection from sexually transmitted infections.