To investigate the effects of HZQYF on gastric ulcers, we established a rat model of gastric ulcer and examined its impact on ulcer area, pathological changes, inflammatory cytokines, gastric repair factors, levels of T-superoxide dismutase (SOD), and malondialdehyde (MDA), as well as metabolites in gastric tissue and feces. The gene discussed is SOD1; the disease is gastric ulcer.