You don’t necessarily need to get tested right away if some of your family members are diagnosed with cancer as it is not contagious. However, it is believed that some types of cancer can develop partially to the genetic predisposition. For instance, there are tests that help to diagnose whether a woman has a specific gene that makes her prone to developing breast cancer. It is beneficial to get checked if your mother has it.