other reason is syphilis which is a treatable disease with antibiotics and which form on the penis an ulcer that is call chancre. so it its better to be seen by a specialist
There are several treatment options for this condition including: cream applied by the patient, drugs applied by the physician, cauterization, and surgery.
The treatment depends on the size, location and the number of the warts, as well as to the response to a previously given treatment.
I encourage you to see your physician who can offer you the best treatment modality.
Meanwhile, it is very important to use condoms to prevent you from infecting other people.