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.
For more complicated cases of lupus, a rheumatologist is usually the primary doctor. Other specialists are consulted as needed. For mental health problems such as depression, anxiety, psychosis, or other behavioral changes, see your family medical doctor or internist, or a psychiatrist. For the treatment of organ problems, a doctor who specializes in diseases of that particular organ system may work together with a rheumatologist or immunologist.