As others have noted, stocks are probably not the place to be. But I’ve read that blue-chip stocks do relatively well in periods of high inflation. Those companies sell products that people need, and will continue to buy. And so those companies can rise prices as needed.
That’s the theory, anyway.
Except stocks in gold, like AUY......& gold mining companies, silver also.....