In a recent episode of CNBC’s “Mad Money,” host Jim Cramer advised investors to adopt a long-term approach and remain invested in good companies, even in the face of short-term losses. What Happened: Cramer suggested that investors should not emulate the trading habits of large hedge funds. Instead, he recommended a long-term investment strategy, emphasizing the need to anticipate and endure market declines, reported CNBC on Thursday. “You need to think about these kinds of challenges before you buy any stock, and most certainly before you sell any stock,” Cramer said. “You don’t need to swap …