Avoid sleeping with the television on at night. Sleeping with the television on can disrupt melatonin production. Melatonin is a hormone made by the pineal gland a small gland in the brain. Melatonin helps control your sleep and wake cycles. Very small amounts of it are found in foods such as meats, grains, fruits, and vegetables. You can also buy it as a supplement