For a start, justremove the battery terminals and put them on again after a couple of minutes. This should reset the ECU.
The way it stalled it can be anything from the timing sensor giving up to something going into the air intake.
Start with resetting the ECU (battery terminals), then open the air filter box and see if you can find something out of ordinary.
The last thing should be the timing sensor - shouldn't cost more than 3k from bilal ganj.