Information about STI transmission can be confusing, so kudos to you for seeking clarification.
Since your question was submitted via a reader response for the question Shedding light on viral shedding, you are most likely referring to skin-to-skin transmission in the context of herpes and other STIs.