What to do when your parent suffers dementia

We all pray to grow old, but we should also be cognizant that as we do, we also become more infirm, and begin to experience multiple medical challenges. A particularly troubling one is dementia. What should we do, when a parent or loved one develops dementia?