Most people take it close to bedtime. A few people find that taking it close to bedtime actually keeps them awake. You may want to try taking it at bedtime and see how you do. If it seems to keep you awake, try taking it earlier in the day. Magnesium also helps with muscle spasms.
Most people take calcium with the magnesium.
Halibut or cod liver oil is the best. The evening primrose oil helps you to feel better in general. Vitamin C, B complex, and E are natural antioxidants and antihistamines. These can help with allergies. Grape seed extract helps with pain.