Poor sleep has been shown to significantly worsen the symptoms of many mental health issues. Problems sleeping can be secondary to a medical illness such as sleep apnea, or a mental health condition like depression. In addition to affecting sleep itself, many medical and mental health conditions can be worsened by sleep-related problems.