How long have they been there? Are they in a row or anything?
Google pearly penile papules and see if that fits. You could also have something called balanitis. You should definitely let your doctor see it. If it's not hurting, it probably isn't herpes.