For some people, it may be much longer. Genital warts are most likely to be transmitted when visible. After warts have been treated and no longer visible it is less likely that the infection will spread. Previous infection with warts does not protect a person from repeat infection. The wart virus has many different types, so repeat infections are quite possible.
Treatment can be with chemicals applied to the warts, by freezing, or by surgical removal.
If a person is not treated, the warts will very likely continue to grow, spread, and be passed along to sex partners. There is an association between some strains of wart viruses and cancer of the cervix. Abstinence is the only sure way to avoid STDs. Try to limit your exposure to STDs. Unprotected sexual activity increases your chance of exposure and infection.