Once a person has been infected with this virus it can take months to actually appear, this means it can spread through a family easily. Warts can disappear on their own but can last for many years and can reappear even after they have gone.
You can buy over the counter wart treatment that tends to work quite well. For stubborn warts you may need to repeat the treatment to get rid of the whole wart and its roots.
If you have recently tried using such treatment, this may be why your wart has started to hurt. The acid used in these treatments is quite harsh and can cause pain, especially in deep-rooted warts. This should only last for a couple of days while the treatment starts to work.
If after these home remedies the wart still has not gone, then you may have to visit your doctor who can freeze the wart.