Anal herpes is a physical infection caused by the herpes simplex virus (HSV). Sexual contact is the primary way in which the infection spreads.