Hi, thank you for contacting JustAnswer.com. My name is Russell. I will do my best to provide the right answer to your question.
I advise you to put it into Auto Mode. That should produce the auto-focus that you desire.
If it does not, then something is wrong with it if it will not focus in Auto Mode (which automatically adjusts exposure, focus, and some other values for a fairly good picture every time without effort)... then it is defective. And it should be promptly returned to the store or vendor as such. For either an exchange for another, working, camera, or else for a full refund.