Always attack from behind when fighting spearmen. To attract a band of spearmen, send some units close to them. Do not engage them to fight. Once they start pursuing your army units, start attacking with your cavalry from behind the spearmen. They should start to run in a minute.