"A crystal statue comes to life before you, ready to attack! Will you:"
[F]ight it
Use the
crystal sword found in
Harkyn's Castle 1, to kill the golem and keep it lifeless. Otherwise it'll keep coming back to life when you kill it.
This is a good location for farming experience, without using the crystal sword.