The management of gastric Helicobacter pylori (H. pylori) infection represents a significant concern in primary healthcare. This survey evaluates the approaches, attitudes, and knowledge regarding gastric H. pylori infection among Italian general practitioners (GPs) and young doctors undergoing general practice training (ITGPs). The survey enrolled 466 GPs and 70 ITGPs. Among GPs, specialist recommendations and the Maastricht–Florence guidelines were frequently referenced sources, while ITGPs relied more on the Maastricht–Florence guidelines and internet resources. ITGPs demonstrated more proactive approaches than GPs in investigating and treating conditions such as gastric ulcers, atrophic gastritis, and iron-deficiency anemia. However, there was limited attention given to the role of H. pylori treatment in first-degree relatives of gastric cancer patients. The most used diagnostic methods were the urea breath test and fecal test. Triple therapy was the most frequently chosen initial treatment regimen, with quadruple bismuth therapy becoming the primary option after initial treatment failure, followed by quinolone therapy and concomitant therapy. This survey underscores a disparity between real-world practices and the recommendations outlined in current guidelines, indicating a need for improved understanding of H. pylori guidelines among both GPs and ITGPs.