Painless bump on penis

I've had pimples on my penis before, but this has no head and is painless. It has persisted just over a week. I am not sure what it is but I've seen similar signs to primary syphilis with chancres on genetalia. Is that what this is? Should I be worried? thank you for your help

image

image