First of all you need good armour as a footie. Steel or better. Potions help too.
Lancers hit really hard so, once you have lost your horse and are on foot, your only play is to use terrain (rocks, trees, water, houses, etc) to hide behind while you use a long bow to kill his horse. Long bow is...