You'll need a ABS scanner to read the code it's tossing.

Something is either wrong with the EBCM, wheel bearing, wire harness or similar. So that's where the code will come in handy.