As you study the preview in your viewfinder, study carefully the focus of all the elements that are at different distances. Try adjusting the point of focus a bit for you are actually adjusting the depth of field. Study the results of the depth of field and if you don't like where it is, adjust the point of focus which changes the range. These are all controls and adjustments that you should learn and commit to subconscious memory and recall as you work. It is the smart photographer who will use all the tools and tricks available to get that absolutely perfect picture.
Depth of field is actually a tool for cameras with variable focus.
Many low end consumer cameras do not have focusing adjustments and are called fixed focus. This means that you cannot adjust the focus and the camera comes preset to focus almost anything you may wish to photograph. How this works is that the designers of this camera have engineered a lens that has an extremely long field of focus which may be from a couple of feet to infinity. As long as you know the range of focus, all you have to do is make sure that you don't try and photograph something closer or else it will be out of focus. As far as things that are more distant, you don't have to worry because you really can't focus beyond infinity.