2003 chevy trailblazer

Stopped at a store. When I started up again the car runs really rough and the motor seems to be missing badly. As I drive along the motor feels like it looses power for just a split second and then it is fine except for the rough motor.