Herpesviridae is a large family of DNA viruses that cause diseases in animals, including humans.
When a person infected once, his immune system develops antidot against the virus, so he becomes immune for that virus for rest of his life. In other words, he can't be affected from that virus again
Hope this helps!