If the store does have a return policy, you may be able to return the guitar for a refund or exchange. You may need to provide a receipt or proof of purchase, and the guitar may need to be in its original condition.
It's also a good idea to inspect the guitar before you purchase it. Look for any signs of damage or defects, such as string buzzing. If you notice anything wrong with the guitar, you can ask the store to exchange it for a different one.