when car cuts off when i turn the headlights on or the turn signal on 1998 Chevrolet Prizm

It happen at night when i went to the store as i was headed home i turn on my headlights and the car shut down

Asked by for the 1998 Chevrolet Prizm
1 answer
need to see if charging sounds like running off battery only