The HPV vaccine is safe and can decrease the risk of getting cervical, penile, anal, and potentially head and neck cancers by vaccinating against HPV. It can also decrease the risk of genital warts for oneself and spread of warts and cancers to others.