How can I locate the information entered on my previous year's taxes if the specific information doesn't appear on my tax return doc for 2022?

Looking for the cost basis of very old stocks that I calculated previously.