Family history is considered in diagnosing cancer. Cancer may be prevalent in some families because of factors such as smoking or obesity that influence the risk of cancer.

Another factor is an inherited gene passed from generation to generation. Though genetics are responsible for only a small percentage of cancer, your doctor may refer you for genetic counseling.