Hello and thank you for using Just AnswerI'm Paul and I will help you with your Question
when the ABS/Trac light comes on
a fault code is stored in the ABS computer
you need to read this fault code to help determine the cause
the most common cause of ABS Trac light failures are the wiring harness that leads to the front speed sensors gets damaged you may be able to inspect this wiring yourself near the front bearing where the speed sensor is they break.
if you can not visually see any damaged harness you will need to read the codes with a compatible scan tool to access the ABS computer this type of diagnostic is 100 dollars
let me know if you need more help