In this study, we propose to construct an immune‐related prognostic risk model based on immune‐related genes MMP14 and INHBA expression that can assess the prognosis of pancreatic cancer patients and identify potential therapeutic targets for pancreatic cancer, to provide new ideas for the treatment of pancreatic cancer. The gene discussed is INHBA; the disease is familial pancreatic carcinoma.