Herpes is highly contagious while there is any sign of it on the surface, and sexual contact should be avoided at these times to avoid infecting a partner.