Gastric cancer is an aggressive and multifactorial disease. Helicobacter pylori (H. pylori) is identified as a significant etiological factor in gastric cancer. Although only a fraction of patients infected with H. pylori progresses to gastric cancer, bacterial infection is critical in the pathology and development of this malignancy. The pathogenic mechanisms of this bacterium involve the disruption of the gastric epithelial barrier and the induction of chronic inflammation, oxidative stress, angiogenesis and metastasis. Adherence molecules, virulence (CagA and VacA) and colonization (urease) factors are important in its pathogenicity. On the other hand, resveratrol is a natural polyphenol with anti-inflammatory and antioxidant properties. Resveratrol also inhibits cancer cell proliferation and angiogenesis, suggesting a role as a potential therapeutic agent against cancer. This review explores resveratrol as an alternative cancer treatment, particularly against H. pylori-induced gastric cancer, due to its ability to mitigate the pathogenic effects induced by bacterial infection. Resveratrol has shown efficacy in reducing the proliferation of gastric cancer cells in vitro and in vivo. Moreover, the synergistic effects of resveratrol with chemotherapy and radiotherapy underline its therapeutic potential. However, further research is needed to fully describe its efficacy and safety in treating gastric cancer.