help with optocouplers

i am trying to switch 12v LM386amps on and off. so i'm guessing the optocoupler transistor side can't handle 12volts?