After you file

If the bank you selected for the direct deposit rejects the deposit it is sent back to the IRS.  The IRS then will mail the federal tax refund as a check to the address on the tax return.