After many years in the financial media, I’ve come to realize that many investors will never learn what to do during a panic.

That’s because, inevitably, they forget their long-term strategy and dump their investments. As a result, they miss out on the inevitable recovery.

Inevitable? Yes. As we saw Monday, even a two-day decline of 5.3% in the S&P 500 SPX, -1.11% , caused by Brexit, can be reversed quickly. On Tuesday, the benchmark index rebounded by almost 2%.

Here’s a look at 10 stocks that analysts at investment bank Jefferies think investors should buy, because they declined more than they should have, in the wake of Brexit, or Britain’s decision to leave the European Union.

But what about stocks that have suffered even more? Patient investors who jump into a stock or an industry on the rebound can ride the wave and see very strong returns in the long run.

So we decided to take a broad look at the U.S. market for bargains. Using data supplied by FactSet, we began with the S&P 1500 composite index and identified 481 companies whose stocks were down at least 20% (with dividends reinvested) for the past 12 months, through Monday.

We then narrowed the list to 89 for which at least 75% of analysts had “buy,” or equivalent, ratings. We pared that list of 89 further to 66 companies with at least five analysts rating the shares “buy.”

Here are the 20 remaining companies with the most implied upside potential, based on consensus 12-month price targets:

The purpose of the list is to present you with potential stocks for further research. You have two feathers in your cap: The stocks have already tanked, and analysts love them. But analysts might be wrong. If you see names of interest, the next step is to read what you can about the companies and consider whether their business strategies are likely to lead to expanding sales over the long term. That can lower your risk and make high returns more likely, if you are patient.

Also see:Three ways to profit as investors panic about Brexit