This happened to me once but turned out just to be a misfire.
It sounds like you have got a bit if bad gas or water in the fuel. Try refueling ( at a different station) and put some gas treatment or injector cleaner in with it. See how it behaves with some fresh juice.
Go to the dealer as soon as you can and have them read the computer's fault codes. That will tell why the SES light came on.
It doesnt sound like anything to be overly concerned about but definitely have it checked out.
If it starts running better with some new gas, goose it to redline a couple of times (in gear of course) to blow out anything in the system.
Keep us posted on what happens