Put your camera on your tripod and configure the camera settings:
Set your lens to manual focus and then focus to infinity. Take a test shot in auto mode and make sure that your picture looks sharp on the rear LCD.
Set your camera ISO to “base” ISO (lowest value).
Set your camera to full manual mode.
How do you photograph the stars?
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.