Rejected Return

IRS rejected my e-filed 2020 return for incorrect EIN. How much time do I get to fix the rejected return? Also, Now that the third stimulus is signed into law, can I incorporate relevant changes along with fixing EIN and then resubmit the corrected return?