Reboot into recovery by pressing power plus volume - till LG logo appears then release and press again till you are asked if you want to factory reset, then press power button 3 times. You will enter twrp when it is installed. After that you can sideload a Rom or if you haven't erased the internal, you can restore backup or install Rom zip again