Even though you can't do much to control inflation, there are ways you can prevent your retirement savings from suffering.