Dreaming that you or someone has herpes, refers to your sexual anxiety and worries.  Perhaps you have practiced unsafe sex and are expressing your regrets.