Several caveats to that.
If you're in for the very long term, don't sell. In fact, buy the bargains. And buy them through low-cost mutual funds.
“If you’re in for the very long term, don’t sell.”
During the depression, it took 25 years to get back to even. I hope you’re in it for the very long term.