Use the Ice Wand—you can get it from an Ice Slime—and try to avoid staying in the middle when facing the boss.