If the ABS light is on, it probably is the sensor problem. You need to replace with a new ABS sensor. If the check brake light is on, you need to check the brake fluid level first.