I don't know if what you said is virtual because the focus is not accurate or the depth of field is too shallow. The focused part is real and the part is virtual.
If it is the first case, it is out of focus, or the focusing accuracy is not enough, or even out of focus. There is something wrong with the lens itself or you have exceeded the nearest focal length of the lens. Look at the instructions, don't be too close to the nearest focal length of your lens.
If you still don't focus, it's the lens itself.
Then if it is the second case, it is the problem of your shooting method. There are basically two methods. First, try to use the wide-angle end (keep the distance between the subject and the camera lens outside the nearest focal length). The focal length is in millimeters, and the smaller the value, the wider the viewing angle. For example, 24mm, wider, 18mm and so on.
Furthermore, try to use a small aperture.
The aperture in the lens is represented by f, and the larger the value, the smaller the aperture. You can get a deeper depth of field by basically keeping it around F8 or F 1 1. Exposure mode: Aperture priority mode can be selected. (A, Av file) If the aperture is too small to shoot by hand, you can shoot with a tripod.
I hope I can help you.