Find a subject in front of a background with depth. Take a close viewpoint and zoom in; you’ll need to be aware of the minimum focusing distance of your lens. Focus on the subject and take a single shot. Then, without changing the focal length, set the focus to infinity and take a second shot.With a shallow depth of field the point of focus naturally draws the eye, which goes first of all to the part of the image that’s sharp. It generally feels more comfortable if the point of focus is in the foreground, although there’s nothing wrong with placing the point of focus in the background.
I personally find more attractive the second image with point of focus in the foreground. The first one is just a photograph with some flowers, instead in the second one the eye is drawn in the background on the people moving , and on the leading lines.