The problem of maintaining social expenditures

How should developed democracies address the problem of maintaining social expenditures as their populations grow older? Should benefits be reduced? Should immigration be increased?