What is difference between taking magnezium 250mg a day or 2 docusate sodium a day, and how long should I stay on either one of them.

Both work. By increasing the water content of stool.You should not use longer that a few days without being under the care of a physician. Magnesium might be a little stronger.