Tail light they go off on 1991 BMW 525i

How can i fix it

1 answer
you have to replace the brake switch under the dash