Why do your legs move at night and you have to constantly stretch them to get it to stop?

This sounds like restless leg syndrome. You need to see your doctor about this! If it is RLS, treatment is available.