An Irish doctor in Australia has described how his training just "kicked into gear" after he came across a man on a beach who had been bitten by a shark.