After you file

And if your efile rejected then your state didn't go through either so you might need to mail state.  Or you can still try to efile federal and state until Oct 15.  If it rejected we can probably tell you how to fix it.  Rejects are usually for the wrong 2022 AGI.