Either abstain from sex, or ALWAYS use condoms If your partner doesn't have it, or abstinence. If they do have syph, they need antibiotics to get it treated, but use a condom (which isn't a 100% guarantee) Condoms are helpful, but are not 100% effective, particularly with diseases like syphilis that spread via skin to skin contact.