How do you debeak chickens and turkeys?

You debeak chickens and turkeys in the same way. First the animal must be dead and then you use a special machine.