I'm not entirely sure what you're referencing, since there are plenty of images on the internet that have stars in them. However, I'm going to give you the benefit of the doubt and assume that you haven't quite figured out your camera yet.
You'll have to adjust your camera setting in order to see the stars in the sky properly. This is because stars are little speck of light, and if your camera is still in "Day Mode" (it brightens the picture to make the objects look clearer), then those stars will just be blotted out by the extra light your camera uses. In order to see them, you need to dim down your camera - turn off flash and go into "Night Mode". This way, the stars show up clearer against the dark background of the sky.