If you prepared your last year’s Federal tax return with a tax preparation software (such as Sprintax), you can log into your account and retrieve a copy. If you have any difficulties, you can always contact the live chat support of the tax-preparation platform that you have used so that they can advise you on the exact steps.
For example, if you used Sprintax, please log into your account, click on 'Get Started', then click on the year you need a copy for (for instance 2022), then click on 'View' and there you will find all the generated forms. If you cannot find all of them in there, click on 'Edit' then go to Download Files where you should have all the documents prepared with us.
If you did not use a tax preparation software and are not able to locate a copy of your tax return you should visit: http://www.irs.gov/uac/How-to-Get-Your-Prior-Year-Tax-Information-from-the-IRS- where you should be able to retrieve your last year's Federal tax return.