Herpes is primarily transmitted through direct contact with herpes sores, mucous membranes, or bodily fluids of an infected individual. This can occur during vaginal, anal, or oral sex. Even when sores are not visible, the virus can still be spread through asymptomatic shedding.