ABS & ESC
/The ABS and ESC lights are coming on what does it mean
Could be something wrong with you ABS sensor. Each wheel has a sensor. Check wiring for any damage. Best to hook a code scanner up to it to try and pin-point what is actually failing. Most often - the scanner can tell you which wheel is acting up.
There's a problem in the braking system that caused those lights. Getting codes read probably won't do you any good as you won't know which part is defective. It could be as simple as a wheel sensor, but you'll need a mechanic to diagnose this to be sure. You could then have him fix the car or do it yourself.