How to get the Arduino to close a circuit

A resistor between the arduino pin and the base of the transistor.