If layoffs are unavoidable, make them as painless as possible by giving affected employees other opportunities, whether it’s by helping them find jobs in other companies, giving them the chance to pitch business proposals and win grants, or providing them with training to gain new skills that they can use elsewhere.