How to make sure the sharpest texture possible?

Yes please do!
As for the moment, is there an easier way to control the sharpness of the texture? There are images that are only partially blurry like this one, is there any way to mask the image by sharpness? And what is the best practice when taking closed-up photos of an object with rather big depth?


Thanks again for your kind teaching!