I would start by checking all fuses and if they are okay, it could be the coil or the crankshaft angle sensor. You can see if the coil is getting a signal by following this guide:
If you are not getting a signal to the ignition coils replace the crankshaft sensor. Unplug the ignition coil before testing because if one is shorted out it will cause the system to shut down and stop working. Check out the images (below). Let us know what happens and please upload pictures or videos of the problem.
Repair Safety Notice: This information is for general instructional purposes only. Vehicle repair can be dangerous. Verify all information, follow manufacturer service procedures, use proper tools and safety equipment, and consult a qualified repair shop when needed.