What range of Aperture for a close up shots and background shots?

For close up shots you need to put your camera on F4 to get the close up details of your object. For background shots you put your camera on F22 to get a good quality shot of the background.