As the Dow nears 40,000, here’s what experts say you should do in case of a pullback