if you have just bought it, i would take it back to the shop, unless bought from somewhere like ebay
i know every country is different, but you are sure to have some time period to return an item for an exchange,
in the UK if the item is less than 30 days then you are entitled to a replacment or refund, anything over 30 day the shop may offer a replacment however this is at their discretion
check how consumer rights works in your own contry before screaming at the shop owner tho