Tail light they go off on 1991 BMW 525i

How can i fix it

Asked by for the 1991 BMW 525i
1 answer
you have to replace the brake switch under the dash