speedo going crazy, hesitations

First off hello guys, new member, first post and new to rzrs but not to powersport industry. Just bought a 2015 900s and haven’t rode it enought for first service yet. Just recently noticed my speedo bouncing up and down, then noticed my power cutting out maybe once every couple minutes when at about 1/4 throttle, then when I come to a stop my idle was high and wouldn’t allow me to shift down smoothly, after a few seconds it settled down and I put it in park. It then started sputtering and idling rough eventually the check engine ligjt came on then it died. I let it sit for a few minutes then started it up, engine light went off amd it idled fine but still continues the hesitation like the engine is cutting power. Any ideas? I am calling the dealer tomorrow.