No, it is not contagious. You can’t get them through contact with a person who has them, and there is no way you can “infect” someone with them through sexual contact.  They are not an infectious condition!