Erik Erikson's theory is a psychoanalytic theory of psychosocial development . It has eight stages.
According to Erikson, the final psychological conflict, ego integrity versus despair, involves coming to terms with ones life.Despair occurs when elders feel they have made many wrong decisions, yet time is too short to find an alternate route to integrity.