Unless you touch your cold sore with your hand or the tampon, and then touch your genitals with either, you don't have to worry about spreading it. I would simply try not to touch the cold sore at all. If/when I touched it I would make sure that I washed my hands immediately afterward.