Your low oil pressure switch is bad or you have low oil pressure. You can confirm by first checking the oil, and then if oil level is ok, remove the wires from the low oil pressure switch and tape them up to prevent them from touching any metal parts. If the motor stays running, then your low oil pressure switch is bad. It can be replaced easily with generac part no. 099236. You can find them on ebay express or google it.