They also asked them how much alcohol and coffee they drank and how much they smoked. "[The] results indicate that consumption of moderate amounts of alcohol in the form of wine, beer, lager, or cider may protect against H. pylori infection," the researchers report in The American Journal of Gastroenterology."