What resistor to use with Optocoupler ?

I've been using 330ohm resistors with my 4N25s from the Arduino output pins, just because I had a load of 330ohm resistors sitting in a bag doing nothing. They work great.