Here are five smart ways investors can protect their portfolios from volatility in the stock market.