my iphone 4 camera

I brought a iPhone 4 off ebay it got delivered and I tried taking a picture and the camera quality looks like its no more than 1 mega pixel. The picture is really poor what could this be and how can I fix this?
Cheers