You can get rid of them with salicylic acid products or by using duct tape to smother them. Though warts are usually not painful, they can be annoying — especially if you have one on your foot.