Those with a family history of early-onset cancer, multiple relatives with the same type of cancer, or rare cancers may consider genetic testing. Genetic counseling is also recommended to understand the implications of testing, including potential psychosocial impacts and the relevance to family members.