Hi Crystal_1215,
We appreciate you reaching out to us. We understand that you are experiencing issues with the auto focus of your device's camera.
We’d like to gather additional details that may help us be in a better position to assist you.
Have you removed any accessory that may affect the camera? For example, a protective case and/or transparent camera cover?
Have you had the chance to go through the steps in the article below?
If the camera or flash on your iPhone, iPad, or iPod touch isn't working - Apple Support
If you answer yes to both questions, please have a technician inspect your device.
You can use the "contact Apple Support to discuss service options" link in the article.
For most countries and regions, you have 14 calendar days to return an item from the date you received the device if purchased from an Apple Store or the Apple Online Store.
Please reach out to our Sales experts if you would like to look into your eligibility for returns. Contacting Apple
Take care!