Herpes or Fungal infection?

comes and goes, went to the dr but it was mild and he just said to put antifungal cream. could this be herpes? or something else?

image

image

looks fungal

doesnt look like herpes