Jim Cramer thought the stock market session on Thursday was a perfect illustration that panic is not a strategy. As the averages faced a marketwide sell-off during the day, he found that it paid to search for opportunity rather than panic — because the averages rebounded before the close.

But that doesn't mean the pain is over.