The iron golem attacks when attacked, just use your ability in the middle of fight and you will see that once your enemy hit the iron golem, it will begin attacking him. You can opt for keep attacking your target from your golem or dismount and attack separately