Preventing Infantry from Falling Back

Any way to do this? My units are running away at the first sign of a fight, which just gets them killed because you can't move and shoot.