If your pain is high in your abdomen and occurs after meals, antacids may help, especially if you are feeling heartburn or indigestion.You should seek medical attention if you have abdominal pain and are being treated for cancer, you can not pass any stool, you are vomiting blood, or you have chest, neck, or shoulder pain.