Join a union! this is what they are for altho its a bit late now in that unions don’t like folk joining after the troubles have started but you will probably get advice of one and representation from a local rep but not access to the services that cost a union
Your employer is acting unreasonably and possibly illegally depending on what they do next.
I would set and wait for them to compound their errors then when the sacking comes as looks inevitable, tell them you will be taking them to tribunal for unfair dismissal, watch them panic ad accept the compromise agreement they will offer – basically “take this money to shut up and go away” I don’t know how long you have been there but I would be asking for a years wages and maybe settle for 6 months