The goal is to keep the person as comfortable as possible and treat the causes of delirium. Finding the causes usually means doing some tests and asking about any recent changes in the person’s health. The cause of delirium may never be known.Delirium can also happen in the last days and hours of life. The focus at the end of life is to keep the person comfortable.