Risperidone may increase the risk of death when used to treat mental problems caused by dementia in elderly patients. Most of the deaths were linked to heart problems or infection. Risperidone is not approved to treat mental problems caused by dementia.