how do you get warts? Warts are caused by the human papillomavirus (HPV) and can appear on various parts of the body. Here's how you can get warts: Direct Contact: The primary mode of transmission is direct skin-to-skin contact with an infected person. This can happen through shaking hands, touching a common surface, or even during sexual activity. Self-Contamination: You can spread warts to other areas of your own body by touching a wart and then touching another part of your skin. Shared Objects: Warts can be contracted from shared objects like towels, razors, or shoes if they have come into contact with the virus.