This is an excerpt from the CNBC Make It newsletter. Subscribe here.
From gas prices to grocery stores, inflation is hitting Americans where it hurts: their wallets.
In March, the price of consumer goods was up 1.2% since February and 8.5% year over year, according to the Labor Department's most recent data. It seems like anywhere you look, your dollar isn't going as far as it used to.
For Kevin O'Leary, O'Shares ETFs chairman and judge on CNBC's "Money Court," the most important thing Americans can do with their money during period of high inflation is to avoid keeping the bulk of it in a low-interest savings account.
"Right now in a bank account, you're getting [very little] interest," O'Leary says. "And inflation is over 6%. So you're actually losing money every 12 months."
In other words, if your bank account is giving you 0.01% interest each month, but inflation is at 6%, the value of your money actually decreases by 5.99% over that time frame.
O'Leary said that when he was young, he "learned the hard way" that banks were a bad place to keep his cash when he saw how little interest his savings account was earning.
"I realized 'Wow, I'm not making anything on this cash sitting around,' and that I had to learn how to invest," he says. "And that's exactly what I did."
O'Leary sides with the experts, including Warren Buffett, who recommend that people put their money into index funds, which are automatically diversified. Despite market volatility, O'Leary points out that the S&P 500 has traditionally outpaced inflation.
Even when the market is falling, experts typically recommend staying the course and resisting the urge to sell. A recent J.P. Morgan analysis found that the 10 best days for the market since 2002 happened after sharp declines, including the 2008 financial crisis and 2020 market crash at the start of the pandemic.
If you invested $10,000 in the S&P 500 at the start of 2002, you would have more than $61,000 at the end of 2021 if you held all your investments, versus just $28,260 if you missed the market's 10 best days, CNBC reported.
O'Leary isn't against keeping spending money in savings accounts in general. He recommends that everyone "have three months of salary on hand in case of emergency," but says going above that results in needlessly losing money to inflation.
"Savings in cash in a bank account make basically no interest, certainly after inflation," he says. "Investing is keeping pace with the equity and stock markets. And I think you've really got to understand the difference between the two."
This story has been updated to include additional advice on how to handle investments during periods of market volatility.
Sign up now: Get smarter about your money and career with our weekly newsletter
Don't miss: How much money you'll have at retirement if you start saving $500 a month in your 20s, 30s, or 40s