Engine error – vehicle jerks

Hello, I had the following problem last night. After about 25 km of driving distance, the reporting engine error lit up in the Borcomputer and in the Tacho a red stop symbol. The vehicle jerked very much and did not accelerate anymore. I drove right and turned off the car. After a short break I restarted the vehicle and everything was back to normal. Also this morning on my 20 km long drive to work everything was ok. Has someone an idea and experience w The timing belt was changed 15,000 km ago.