If it only happens when you first start your car and turns off once you press the break then all is ok. That is bmws way of getting you to test out your brakes before you go. If it stays on after you tap the brakes once then there is either a bulb our or loose connection somewhere.