After you file

If the bank rejects the deposit they will send it back to the IRS.  Then the IRS will mail a check to the address on your return.