And of course you will eventually succumb to a different cold, since there exist over 300 different runny nose infections. However you will certainly unlikely acquire the same cold infection that you had previously since you have actually created immunity to it.
Human papilloma virus is similar since HPV virus is simply one more viral infection. Therefore you can most likely establish resistance