I have a LED controlled by a microcontroller.

I want to know how I can bypass this microcontroller so that I can control the LED with a separate current. Would I use transistors to switch between the two controllers to prevent backflow damage to my microcontroller? If so how?