Herpes can affect any part of the penis, including the shaft, glans (head), and foreskin. Sores may also appear in the surrounding genital area, such as the groin, buttocks, or inner thighs. Blisters or ulcers develop at the site of infection and can cause pain, itching, or discomfort. The virus can also spread to other nearby areas through touch.