Just clean flash it.
Edit: Last time I encrypted my lineageos, I couldn't flash anyting through twrp as it wouldn't ask me for decryption password. So make sure your current TWRP supports decryption or else you'll run in to the same problem as I did.