The reference page for tone() http://arduino.cc/en/Reference/Tone tells you all you need to know
tone(pin, frequency, duration)
Parameterspin: the pin on which to generate the tone
frequency: the frequency of the tone in hertz - unsigned int
duration: the duration of the tone in milliseconds (optional) - unsigned long