The bank account i has set up for direct deposit is closed now what do i do?

Can i get them to mail me a check?