When i was getting the same problem with mine start with the basics. You might need a mate to help, remove a spark plug and clamp it to a bare metal part of the engine (with ht lead attached) and start cranking the engine. It should be sparking. If not theres where you start.
Next one checks fuels getting to it, it would suck if you were out of petrol lol. Remove the fuel line (the one with an arrow pointing towards the injectors) put it in a large jug. Again i recommend using a friend, turn ignition on and it should pump fuel into the jug, if not crank it for a sec MAKE SURE YOUR SPARK PLUG IS PUT BACK IN BEFORE YOU TRY

Oh check the crank possition sensor is connected, it wont spark without it