It depends.
If you put down an account number for an account that you closed, the deposit will be rejected and the IRS will issue you a paper check.
If it was an error in the account number, you will need to contact the IRS. See the link below for more information on this.
IRS refund inquiries