If you have a family history of cancer, seek genetic testing to avoid a future diagnosis.