What motivates your team?
Find ways to help your people stay motivated.
Make sure you offer them fair compensation (salary, benefits, flexibility, etc.).
Praise successes and good efforts.
Have discussions that connect what they are doing now to their plans for future career development that THEY want.
Do what you can to make your workplace enjoyable, fun, rewarding, and work to develop a healthy team dynamic.