1) Trap them in pits.
2) Trap them in (magical) ice.
3) Command Undead.
4) Hide from Undead (Scoll or Wand), then do whatever turns them back.
5) Outrun them. Zombies aren't particularly fast.
6) Nets, rope, anything to bind them.