If your retirement fund is an IRA you can invest it in any stock you want. For a 401k you probably have some fund options that are not exposed to the S&P500, like emerging markets or fixed income