There are several different methods, including a breath test, a stool test, a blood test, and an endoscopy.