Infections were behind about 1 in 8 new cancers worldwide in 2024. See who needs HPV and hepatitis B vaccines and when to ask about H. pylori tests.