Sedatives can also be given in a hospital to calm a person with encephalitis. Sometimes encephalitis can cause impaired judgment, hallucinations, or personality changes that make a person a danger to themselves or others.