When a bank customer is hacked, banks typically freeze the affected account, investigate unauthorized transactions, and may reimburse the customer for confirmed fraudulent activity, enhancing security measures to prevent future breaches. Communication and collaboration with law enforcement are also common practices.