After you file

If your bank rejects the direct deposit of the tax refund it is sent back to the IRS.  The IRS then mails you the refund check to the address on your tax return.