Lyme can cause a chronic encephalomyelitis that resembles multiple sclerosis. It may be progressive and can involve cognitive impairment, brain fog, migraines, balance issues, weakness in the legs, awkward gait, facial palsy, bladder problems, vertigo, and back pain. In rare cases, untreated Lyme disease may cause frank psychosis, which has been misdiagnosed as schizophrenia or bipolar disorder. Panic attacks and anxiety can occur; also, delusional behavior may be seen, including somatoform delusions, sometimes accompanied by a depersonalization or derealization syndrome, where the people begin to feel detached from themselves or from reality.