Go to TWRP, wipe everything except internal storage.
Go to fastboot mode, flash the boot image, reboot to TWRP again, install zip with ROM, reboot.
Should be working now, if it's not you can try to format data in TWRP (all your apps, files will be deleted).
By the way, what error did you get...