In the primary repression phase, 'it is highly probable that the immediate precipitating causes of primal repressions are quantitative factors such as...the earliest outbreaks of anxiety, which are of a very intense kind'.
1 A psychiatrist treats mood disorders, such as anxiety and depression, which can contribute to sleep problems. Psychiatrists may conduct therapy and prescribe medication to relieve symptoms.  A psychologist provides psychotherapy to treat mood disorders that can interfere with sleep.
It is best to seek the advice of a qualified sleep specialist since the diagnosis and treatment of sleep disorders, like any other medical condition, is something that can only be provided on an individual level. Daron Scherr, MD, DABSM. Answered on: 4/5/2013 1. There is debate among the experts on how to answer this.