Victor
Sorry to hear about the problems with buying a car. You do not actually state that you bought the cat from a retail dealer, but It is a reasonable assumption that you did.
Be careful if you did not and bought it privately, as different laws apply.
Also even if bought from a dealer, please be certain that you did not agree to any disclaimers, rules, etc etc, imposed by the seller in writing. Many dealers do actually supply "Trade Deal " cars, which may be applicable to constrained rules, etc, etc.
If bought from a retail dealer, then as previously quoted, "Get it back to the dealer/seller asap and insist that it is put right or your money is refunded in full.
Good Luck and Best Wishes, Regards, John