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. Here, SOD1 is linked to ulcer disease.