This is said to have an effect on children and adults with various cases of sleep disorders. Music is most effective before bed once the brain has been conditioned to it, helping to achieve sleep much faster. Melatonin
Research suggests that melatonin is useful in helping people fall asleep faster (decreased sleep latency), stay asleep longer, and experience improved sleep quality. To test this, a study was conducted that compared subjects who had taken melatonin to subjects with primary sleep disorders who had taken a placebo. Researchers assessed sleep onset latency, total minutes slept, and overall sleep quality in the melatonin and placebo groups to note the differences. In the end, researchers found that melatonin decreased sleep onset latency and increased total sleep time  but had an insignificant and inconclusive impact on the quality of sleep compared to the placebo group. Sleep medicine
Due to rapidly increasing knowledge and understanding of sleep in the 20th century, including the discovery of REM sleep in the 1950s and circadian rhythm disorders in the 70s and 80s, the medical importance of sleep was recognized. By the 1970s in the US, clinics and laboratories devoted to the study of sleep and sleep disorders had been founded, and a need for standards arose. The medical community began paying more attention to primary sleep disorders, such as sleep apnea, as well as the role and quality of sleep in other conditions. Specialists in sleep medicine were originally and continue to be certified by the American Board of Sleep Medicine.
Night terror, Pavor nocturnus, sleep terror disorder, an abrupt awakening from sleep with behavior consistent with terror
Nocturia, a frequent need to get up and urinate at night. It differs from enuresis, or bed-wetting, in which the person does not arouse from sleep, but the bladder nevertheless empties. Parasomnias, disruptive sleep-related events involving inappropriate actions during sleep, for example sleepwalking, night-terrors and catathrenia. Periodic limb movements in sleep (PLMS), sudden involuntary movement of the arms and/or legs during sleep. In the absence of other sleep disorders, PLMS may cause sleep disruption and impair sleep quality, leading to periodic limb movement disorder (PLMD). Other limb movements in sleep, including hypneic jerks and nocturnal myoclonus. Rapid eye movement sleep behavior disorder (RBD), acting out violent or dramatic dreams while in REM sleep, sometimes injuring bed partner or self (REM sleep disorder or RSD)
Restless legs syndrome (RLS), an irresistible urge to move legs. Shift work sleep disorder (SWSD), a situational circadian rhythm sleep disorder. (Jet lag was previously included as a situational circadian rhythm sleep disorder, but it does not appear in DSM-5, see Diagnostic and Statistical Manual of Mental Disorders for more). Sleep apnea, obstructive sleep apnea, obstruction of the airway during sleep, causing lack of sufficient deep sleep, often accompanied by snoring. Other forms of sleep apnea are less common. Obstructive sleep apnea (OSA) is a medical disorder that is caused by repetitive collapse of the upper airway (back of the throat) during sleep.