Gereb's ability is activated when he enters near-death state, which means standing in the last space before reaching the castle.
One way to activate Gereb's ability 3 times in the same battle is to use various letter cards to make him either re-enter or stay in the last space, for example by giving him armor or force him to move back one space.