You fixed the cause of an ABS warning - a wheel-speed sensor, wiring, or low voltage - and now the light needs to go out. How the ABS light resets depends on your vehicle. Here is how it works.
Fix the cause first
The ABS light is a symptom, not the problem - it comes on when the module detects a fault like a bad wheel speed sensor or wiring issue; see ABS warning light meaning. You must repair the underlying fault before the light will stay off. Clearing the code without fixing the cause just makes it return.
Many cars self-clear
On a lot of vehicles, once the fault is repaired the ABS light goes out on its own after a few drive cycles, as the system re-checks the circuit and sees it healthy - see how ABS works. Sometimes it clears at the next key-on, sometimes after driving above a certain speed so the sensors report normally.
Using a scan tool
If it does not self-clear, an OBD-II scan tool with ABS capability reads and erases the stored ABS code. If the light stays off after clearing, the repair worked. If it comes back, there is still a fault - a common cause is a sensor that was pinched or a connector not fully seated during the repair; see ABS light after battery work.
When it keeps returning
A light that returns after clearing means the fault is still present - re-check your repair and scan for the specific code. Your normal brakes still work with the light on, but ABS is offline until fixed. Keep the brakes themselves in good shape with quality pads and hardware.