Tums are an over-the-counter antacid used to relieve heartburn, indigestion, and upset stomach. They contain calcium carbonate and can also be used to prevent or reduce the symptoms of osteoporosis. While it is generally recommended that you take Tums at least 30 minutes before eating or drinking anything other than water, if you are fasting and only consuming water, it should not interfere with your fast.