Why does the brake light come on when you switch on your head light in your Micra?

Faulty tail/stop bulb at rear