What lights are you getting? If it is the ABS light and BRAKE light then..
You could either have..
-Dirty wheel speed sensor
-Disconnected wiring to the wheel speed sensor
-The wiring could be frayed for the wheel speed sensor
-OR the wheel speed sensor could be bad