22 hours and check enguine light comes on.

Only had the rzr for 22 hours
Fired her up drove about half a km when the check enguine light came on and she wouldn’t do much above 10 (almost lik my seat belt was unbuckled) so I limped her home . Being curious about 15 mins later I hopped in. Buckled up and she ran fine no check enguine light or anything. Should I be worried at all? Any idea what caused this?