How to file for 2022 when 2021 is still not processed?

I know about the backlog and processing delays.

I e-filed my taxes and they were accepted.  I am due a refund.

 

So what do I for 2022 tax filing if 2021 is still not processed by then?  File an extension and used best guess?

And if 2021 is still not processed by October 2023 -- then what?