Here's exactly how to protect your portfolio against market volatility.