After you file

If the account number for the direct deposit of your federal tax refund was incorrect then the bank would have rejected the deposit and would have sent the refund back to the IRS.  The IRS would then mail the refund as a check to the address on the tax return.