It is used as a calcium supplement or as a treatment for antacid , but too much can be bad for your health . It is commonly used medicinally as a calcium supplement or as an antacid , but excessive consumption can be hazardous .