Some infections can increase cancer risk, while vaccination, screening and treatment can help prevent certain infection-related cancers.