Please pay proper attention to the reason why an employee is leaving; not every time they leave for a higher salary.
Few things you can stop just by listening to an employee and addressing their concerns.
If you don't have time to listen, the employee won't feel like staying.