Home remedies are generally not recommended. If there is a suspicion that you might have contracted the disease, you should immediately seek medical help.
Before penicillin was invented, malaria was used to cure syphilis. The fever in malaria would kill the syphilis-causing bacteria. But once penicillin was invented, this cure lost favor. There are no home remedies for syphilis. It is best if you go to a doctor and get yourself checked out.