Magnesium
Dietary sources of magnesium include legumes, whole grains, vegetables, seeds, and nuts. If you're not getting enough magnesium from your diet, you may need to incorporate magnesium supplements. Taking magnesium at night can help with sleep problems and muscle relaxation.