You have to fight him until a sign above the ogres head shows Lucy, the attacks and climbs on him then after fighting him Edmund will take a turn, and then Peter and so on and so forth, but you have to make sure you kill the dwarves otherwise they will shoot you down and you'll have to start over.
What system is this for?