Persistent use of condoms and routine STD tests will greatly reduce the risk of catching both HPV and herpes. If you’re a parent, having your young teen vaccinated for HPV can further protect them in the future from cancer.