what is causing my engine to shake when idle? on 2001 Kia Sephia

My car has been recently been shaking a lot when idol. it only happens when i come to a stop at a stop light and it becomes harder to accelerate out of idle when green. recently, the check engine light came on so now im worried. what could be the problem with my car? just to be clear, the movement is more of a jerking motion in the engine that happens continuously until i start driving again, then it stops.

Asked by for the 2001 Kia Sephia
Get it scanned for codes at a auto repair shop.