If you have trouble falling asleep and staying asleep, taking melatonin supplements may be able to help.