You also need to find instructions specific to your device on how to unlock the bootloader, and a TWRP specific to your device. From there, you do a clean flash through TWRP (erasing certain partitions and then installing the new ROM), and then, you should be good to go.