how does it transmit?

Is genital herpes transmissible through the open sores on genitals? Or the fluids like semen, vaginal fluids? What Exactly carried the virus? I always wondered how exactly it can transmit to someone like if the outbreak isn't touching the other persons skin. Just wondering