Gardasil is a vaccine that prevents genital warts and cervical cancer caused by a different strain of HPV than what causes plantar warts. More research is needed to determine if the Gardasil vaccine will prevent other strains of HPV.