My brake light (the one inside the car at the back) has been problematic. Symptoms are as follows:
When I turn on my headlights, the brake light also turns on. When I turn off the headlights, the brake light goes off.
Now if the headlights are off, the brake light responds normally. That is, it goes on when I brake and goes off when I am not braking. Thus the problem only arises when the headlights are on. I am assuming the bulb is not at fault but do not know where to proceed from here. Some forums have suggested that it might have to do with a bad ground wire for the brake light unit?
Any suggestions and advice would be great as I find it difficult to drive safely at night (both in regards to other drivers and cops

)