My doctor told me to take 1000mg of magnesium oxide each day to prevent migraines. He told me to start at 500 and work up to the 1000 because it can cause diarrhea. Oh, yeah! For those who have used it, how long does it usually take for the diarrhea to stop? Any tips?