cnbcs jim cramer on tuesday delivered a lesson to investors in light of the stock markets recent move higher after a rough patch filled with covid omicron worries the mad money hosts comments came after wall street turned in another strong session to start the trading week led by the techheavy nasdaqs 3 jump its a textbook example of why panic is not a strategy unless youre deliberately trying to lose money cramer said referring to the advice he issued after the close on nov 29 on tuesday the broad sp 500 rose 207 and now sits about 1 away from its record high the dow jones industrial average advanced 14 as all three major us equity averages recorded their third positive day in four i want you to use it as a reminder that most of the time it pays to wait for cooler heads to prevail rather than freaking out in a situation where everyone else is freaking out and lost their heads without complete information cramer said markets sold off sharply nov 26 with the dow sp 500 and nasdaq all losing more than 2 in the holidayshortened session as investors across the globe reacted to the discovery of the covid omicron variant stocks continued to be volatile the following week and the major us averages finished the fiveday trading period lower however as days passed and more information on the omicron variant surfaces cramer said wall streets worst fears of broadbased lockdowns that hurt the economy have become increasingly unlikely thats helped improve market sentiment he said look it wouldve been great if you bought stocks something near the lows—thats what i urged you to do actually even if you had to hold your nose because we were simply too oversold i was relying on technicals cramer said but the cardinal sin here was selling stocks out of fear rather than sitting tight out of rationality sign up now for the cnbc investing club to follow jim cramers every move in the market