Between 30 days and 6 months you have the right to repair, replacement, or refund under the Consumer Rights Act.
If the retailer chooses to attempt repair and they fail to repair it within a reasonable period then you have the right to refund.
The retailer will try and fob you off to the manufacturer/warranty. Don’t let them – your contract is with the retailer. If repair has been attempted then insist on a refund.
And be prepared to send a letter before action and then follow up with a small claims.
There’s no automatic way to enforce rights under the Consumer Rights Act, so you have to do it yourself.
There are other ways to seek redress like the VISA/MasterCard chargeback schemes. Contact your card provider for this.
Also, if you paid via credit card you can make a ‘section 75’ claim via the credit card company.