If you are trying to take a picture of anything closer than about 2 meters away, it will start going out of focus. It gets increasingly out of focus as you get closer. Both the normal camera and the Pi No-IR camera use a fixed-focus lens, which works best for distant objects. If you want to focus at a specific distance like 1 meter or 50 cm, etc. you have to grip the tiny plastic edge of the lens with pliers or something, grip the outer camera module housing with another set of pliers, and twist the lens until it is focused. The lens was not made to be adjustable. It is not really hard to do, but you have to be careful not to damage the camera.
Another alternative without risk of damaging the camera, is to use an external close-up lens. Simple reading glasses work OK.
see also: http://elinux.org/Rpi_Camera_Module#Adj ... Lens_Focus
Adjusting Lens Focus
The camera is fixed-focus (at infinity) as delivered. The thread-locking glue dots can be scraped off allowing manual lens focus, as close as 2.5 cm. To change the focus to FL cm, unscrew the lens (turn counter-clockwise) by D degrees, where D = 360 * (3.5 cm / FL). For example, to focus at 10 cm, unscrew lens 360 * (3.5 / 10) = 126 degrees. Values are approximate. The closest achievable focus is about 25 mm, after unscrewing the lens roughly 2 full turns. At this point it is loose and must be held in place by other means.
Unscrewing more than 2 turns results in removal of the lens, allowing use of other optical systems. The lens thread size is believed to be M6 x 0.35.