As steray says, see if there's a spark. If not, you'll have to check out the distributor/ opto trigger on the right of the valve cover. My old Primera used to stop once it was warm because the ignition transistor failed. You can replace this for about £70. Hope this helps
T, December 2008