Keep taking it as prescribed even if your symptoms disappear quickly.
If you are taking this medicine for a long time, your doctor may carry out regular tests to check your levels of magnesium which can fall with this medicine.
The dose will depend on what you are being treated for, but it is usually the lowest dose for the shortest time that is needed to treat your condition.