If your return is rejected, you must correct any errors and resubmit your return as soon as possible. If your return is rejected at the end of the filing season, you have five days to correct any errors and resubmit your return to avoid penalties.
If you owe taxes, you must still pay by the tax return due date (April 17, 2023 for tax year 2022) to avoid penalties.
Some returns keep getting rejected through no fault of the taxpayer. Most commonly, this is incorrect data on the government's end, causing a mismatch and subsequent rejection. If this applies to you, file a paper return, as it can take weeks (or even months) for the government to make the correction in their system.