One way to do so is todiversifyyour investment portfolio so that it includes a reasonable amount of growth and income producing assets to balance your investments among high-, medium- and low-risk investments.
One way to protect yourself from that is to further diversify a part of yourportfolio into foreign stocks and bonds and perhaps alternative investments like real estate and commodities that tend to do well in inflation.