What model car is it ?
If e46, there is a new recall on rear tail light issues - could this be your problem??