Abstinence means not having sexual intercourse. Abstaining from sex is the only sure way to prevent pregnancy and sexually transmitted infections.