In mild cases, withdrawing magnesium supplementation is often sufficient. In more severe cases the following treatments are used: Intravenous calcium gluconate, because the actions of magnesium in neuromuscular and cardiac function are antagonized by calcium.