Transistor BC547 activating after turning on base pin even without turning on the collector pin

Can you show a diagram an photo of your circuit?

If the LED is turning on just by applying a signal to base then the transistor may be shorted b to e.