420 check engine/temp

I have a 2013 Honda 420 Es and go to the creek often Today when I started it it started then the second it turned over the check engine light and temp light came on real quick and it idled high then returned to normal a second later Then I was riding and the two lights came on and it started to sorta sputter and went to normal. Then it shut off 30 minutes later in the woods with those lights on. Turned it off and it did it when I started about 30 minutes later. No leaks good coolant level oil is right. I don’t know what it’s doing. And when I flip the key on the neutral light kicks on a little before the rest of the gauges do. Thanks in advanced