If you have already e-filed or mailed the return, you will need to wait until the IRS has accepted it. Once they accept it and you have received your refund, then you can amend it. If it gets rejected, you can just make the needed changes and file again.