What happens when your bank is merged or acquired?

What happens when your bank is merged or acquired?