I was pulling out onto a road and got into the pedal a little lol spinning the tires after i let out of it the car started shaking bad and the check engine light came on. when i stopped at the stop light it started doing it bad so i shut the car off then started it back up which it would barely start as i went farther down the road about 2 or 3 miles the car was fine. what would cause this to happen. PLEASE HELP ME ON THIS