It depends. Your bank is required by federal law to send you a notice telling you that a court has issued a garnishment order against money in your bank account only if both of the following two conditions apply:
The bank determined that you received federal benefit payments at some time approximately in the last two months that are automatically protected.
You have additional money in your account that is not automatically protected.
The notice will state, amongst other information, the amount of money in your account that it determined is automatically protected from garnishment.
Even if the bank is not required to send any notice under federal law, it may still do so as a routine business practice or because it is required to under state law. If you did not receive a notice about the garnishment of your account, ask your bank for a copy of the garnishment order that it received. You can also contact the creditor or the court that issued the order for more information.