Remember that crazy first-quarter market rally? The first quarter of 2012 marked the best first quarter for stocks in 14 years. Some of us, however, were probably a little mystified as to what the all the optimism was all about; the U.S. economic situation might have shown some signs of improvement but still was by no means rosy, and problems in Europe hadn't been fixed, either.

Regardless, many investors found some things to be incredibly bullish about, but today, that uber-bullishness has disappeared from the market's psychology. Now that it's all over, some investors may have the investing equivalent of ticking time bombs in their portfolios: stocks of poorly positioned companies with prices that floated upward during all that bubbly optimism.

It's definitely time to weed out the weaklings. Let's look at a few retail stocks that may have put investors'  portfolios in danger.

Don't get burned
Shares of teen retailer Hot Topic (Nasdaq: HOTT) increased 56% during the first quarter alone. You could argue that its first-quarter results were pretty cool, too. Revenue increased by 6.4%, same-store sales surged 7.5%, and the trendy retailer reported a $0.09-per-share profit versus a loss of $0.17 per share this time last year.

Still, this company faced easy comparisons on a quarter-by-quarter basis, and its first-quarter results were buoyed by carrying merchandise of the hot Hunger Games franchise. Its fortunes over the years have depended very much on getting the trend right and jumping on come-and-go hot properties like Twilight. Last year this time, things were horribly dismal for Hot Topic.

Right now, Hot Topic shares are trading at 20 times forward earnings -- that's insane. Take a far more consistent performer, Buckle (NYSE: BKE), which is trading at just 12 times forward earnings and has made a habit of large special dividends. If you're holding Hot Topic, sell before it's too late.

Don't save this Penney
J.C. Penney (NYSE: JCP) shares touched a mind-boggling $43.18 per share during the first quarter of this year. Part of the bullishness surely related to the company's having hired former Apple (Nasdaq: AAPL) executive Ron Johnson for the CEO role.

Big problem: Today's J.C. Penny bears absolutely no resemblance to Apple. Despite the company's loss of Steve Jobs, as it stands now, Apple still offers beautifully designed products and nobody has to twist anybody's arm to buy them.

Johnson's plan for Penney -- to ditch splashy, big promotional sales in favor of supposedly consistently low prices -- hasn't done a thing for the retailer, which has to contend with rivals like Target and Wal-Mart, which is no easy feat.

Shares of J.C. Penney have already retreated from their crazy highs after the retailer's quarterly earnings inserted a sharp reality-check pin into the bubbly stock price, but remaining stockholders should still consider ditching. Standard & Poor's recently downgraded its credit rating on J.C. Penney to just one slot above "junk" status.

Department-store doom stock?
What about Dillard's (NYSE: DDS)? The retailer's share price had increased by about 43% once the first quarter was said and done and recently hit a 52-week high of $72.46.

Although the stock's trading at 11 times forward earnings, let's bear in mind that Dillard's sales growth isn't exactly the kind of growth to write home about. In the company's last full fiscal year, sales increased just 2.3%. Its PEG ratio is 2.06, which looks overpriced, especially if you don't buy that it can outperform analysts' growth expectations (and I don't).

Anybody who's made a bundle on Dillard's should take the money and run.

Hold 'em or fold 'em
The market's recent pullback has been making some investors nervous, but investors should be grateful for the opportunity for some better deals on stocks of high-quality companies.

What should make investors nervous is if they bought into some of the first-quarter rally beneficiaries. It's time to assess whether those stocks really warrant holding after such insane runs.

On the other hand, when it comes to truly high-quality, highly competitive companies, you should hold regardless of the market's ups and downs.

But in cases like the ones I've cited here (and many others, across other industries), be sure to protect your portfolio and sell out -- and move on to greener (and cheaper) pastures.

Looking for strong stocks to buy and hold now that the first-quarter rally is over? Our analysts have identified 3 American Companies Set to Dominate the World -- get the scoop, absolutely free!