If you or your partner have genital warts, you should avoid having sex until the warts are gone or removed. However, it is not known how long a person is able to spread HPV after warts are gone.