I get cramps in my toes when I lie in bed for an hour, what can I do to avoid that?

Toe cramps. Try stretching exercises before going to bed: stretch the achilles tendon (gently, not with jerking motions); stretch plantar fascia (bottom of foot) by pulling toes towards you with towel; use toes to grab towel to pull it towards you. If you are on medications, check with doc that electrolytes & mineral levels are ok. Make sure you're getting adequate calcium. See doc if not improved.