Dear Lesley: Forgetting My Supplement

I am a woman currently going through menopause. How can I get the amount of magnesium I need? My doctor told me to take magnesium supplements, but I keep forgetting to take them. Any suggestions?