Have a 1994 Oldsmobile Cutlass Supreme S3.1lt and the abs light will come on and stay onbut I'll restart it by putting my foot on brakes and it goes out why?

It sounds like you may have one of two serious safety problems.

A wheel bearing is very bad.

The wheel sensor is bad.

Either way the system has to be scanned the issue tracked down and repaired.