There are many medicines that can be used to treat warts. These are usually applied directly to the wart. In some cases, it may take more than one application for the wart to go away. Medicines are available over the counter or with a prescription.