These 4 stocks can help investors play defense as inflation rattles the market