What are some things to keep in mind before investing in stocks during inflation?