HSV is transmitted through direct contact with an infected person’s skin, mucous membranes, or bodily fluids. This often occurs through sexual contact (vaginal, anal, or oral) or through skin-to-skin contact with infected areas. It can also be transmitted from mother to child during childbirth, which is known as neonatal herpes.