H. Pylori bacteria causes infection in the stomach and first part of the small intestine. These bacteria passed from person to person through feces and saliva and contaminated water. Your husband can not affect your baby but he can transfer these bacteria in you through saliva and not washing hands properly after passing stools.