How do you get cold sores?

People who get cold sores have usually picked up the virus from close skin to skin as a child such as kissing someone who has a cold sore.