According to Dr. John C. Lipham MD from the University of Southern California Health Sciences, it is highly recommended to take stomach acid medication before meals. The medication will work to neutralize stomach acid, making it more prepared to digest food.