Help!!! Brand new 16 900s wont run!

rzr 900s eps, I road yesterday for about an hr, it ran great, right before I was going in I was going up a hill an in the middle of the hill it just cut out and lost power, check engine light came on, I shut it off restarted it and it was fine.. Today went riding everything was good road for about an hr and it started again, but now it wont go faster than 10mph, when I step on the gas to accelerate it falls flat and want to die out, checked all my connections everything looks good, checked air filter all good, it has 50 miles on it , please help!