We screened eight DDR-related genes (ZBTB7A, POLQ, CHEK1, NPDC1, RAMP1, AXIN2, SFRP2, and APOD) to establish a risk model, which can predict the prognosis of gastric cancer patients and guide the clinical implementation of immunotherapy. The gene discussed is SFRP2; the disease is gastric cancer.