Warts occur when the virus comes in contact with the skin, and they develop on broken skin as the virus can enter into the top layer of cuts or scratched skin due to,
- Picked hangnails.
- Nicked by shaving.