Investors can look to dividend stocks, particularly in energy and consumer staples, to ride out the geopolitical storms.