Super su reboot mistake. How do I fix this as can’t log in

Accidentally pressed the wrong option for HTC devices instead of normal to install Super su. Now it’s in permanent rebooting mode. Taking out the SIM and rebooting changes nothing. How do I fix this?

Phone is unlocked and wouldn’t connect to the network so advised to reboot. When taking out and re-entering SIM this came up. I’d dismissed it a few days ago thinking it was an application trying to get me to do binary shares.

Now pressing the second option for HTC has left the phone in permanent reboot mode. Removed the SIM as SD twice since but still staying on the rebooting screen. Have I got a solution?