Syphilis is a bacterial infection that's typically spread through sexual contact.It most commonly begins as a painless sore, usually in the area of your genitals, rectum, or mouth.The infection spreads from person to person through contact with these sores by the skin or mucous membranes.