Having a cold sore doesn’t necessarily mean you have an STD. Most cold sores are caused by herpes simplex virus type 1 (HSV-1), which usually affects the lips and typically is not transmitted by sexual contact. Though less common, cold sores may be caused by HSV-2, which is commonly associated with genital herpes.