How do I go about filling a prior year return I put both years on one tax return this year

It’s is holding my refund until I file for 2023