Helicobacter pylori infection can have tremendous effect on the patient's gastrointestinal system
. If you are passing black and bloody stools and vomiting blood - it is a medical emergency and demands immediate medical supervision. The testing for this infection is performed on stool, breath and blood samples. Also biopsy of the layers of gastrointestinal tract reveals the presence of the bacteria. But other than the bacteria some lifestyle-related issues such as alcohol consumption and smoking can create ulcers and gastritis. The treatment for this infection needs antibiotics, antacids and lifestyle changes. These changes will help you to get rid of this disease.