Eating certain foods before bed can help you sleep better. Foods high in tryptophan like turkey, milk, and yogurt help produce melatonin and serotonin which induce sleepiness. Bananas contain potassium and magnesium which help reduce leg cramps that can disturb sleep.