CNBC's Jim Cramer on Wednesday said investors on Wall Street care more about company fundamentals than they care about the impeachment process in Washington, D.C.

As the House debated impeaching President Donald Trump throughout the day, the major U.S. stock averages barely moved. The Dow Jones Industrial Average slipped 0.10%, and the S&P 500 dipped 0.04%. The Nasdaq Composite rose 0.05%.

"While the impeachment debate didn't seem to do much damage, a late wave of selling was, indeed, met with almost no buyers today, and that's not what you want to see if you're hoping for smooth sailing going forward into year end," the "Mad Money" host said. "Still, even if we have a few down days coming up ... market history says it's a mistake to freak out about the impeachment process."