Aluminum and magnesium antacids are used to treat a variety of medical conditions, from acid reflux to hiatal hernia. Learn more about their benefits, side effects and how they work in this comprehensive guide.