Hi and welcome to HCM.Thanks for the query.
it does not sound like symphilis but it should be ruled out by specific tests since syphilis
may have serious consequances. other more common causes are herpes
, bacterial skin infections or allergy/irritation. You can apply mild steroid
creams till you find the right diagnosis
Wish you good health. Regards