Having a family history of stomach cancer may increase the risk of certain types of stomach cancer. Around 1 – 3% of stomach cancers are hereditary diffuse gastric cancers , a rare inherited type of cancer that grows in the stomach.