ƒ/22 - Small aperture with a deep depth of field.

When you want everything in your image to be in sharp focus from front to back you will want to use a deep depth of field.  ƒ/22, ƒ/32, and ƒ/44 above that will have a very narrow aperture and are ideal for sharp focus throughout your picture. 

Although I don't often use anything above ƒ/22, if it is an option on your lens, try it out and see what it does.   For this lesson, however, we are not going to go above ƒ/22.