Hello and welcome.
If you give me the code number, i will do my best to help solve your problem.
The ABS light will also cause the red brake light.
Common causes are any of the whel speed sensors or harness going to a speed sensor.
P1638 is alternator circuit problem. Either a bad alternator, computer, or wiring to the alternator. Would need a volt meter to test if the alt is charging. If ok, would need a scanner that shows live data to test the circuits.
P0332 is for knock sensor. Sensor(s) located under the intake manifold.
We have had problem with water getting into the valley where the sensors are and causing corrosion. If that look OK, then it is normally just a sensor problem.