To photograph the stars in the sky as pinpoints of light, start with as wide an f/stop as your lens allows, and shutter speed of about 20 seconds. Any more time than that and the stars will begin to blur. Increase the ISO as needed for a good exposure.