No, withdrawal, which rarely works.
Yeah, withdrawal does absolutely nothing to prevent STDs (AIDS, et al) and doesn't always prevent pregnancy, either.
Of course, this is the reason that "Abstinence-only" teaching is bad, and that kids should be taught this kind of stuff.