The least important side effects are constipation (aluminum-containing antacids) or diarrhea (magnesium-containing antacids. Large amounts of calcium carbonate-containing antacids (for example, Tums) can affect the balances of calcium and acid in the body and damage the kidneys.