car won;'t start on 2005 Hyundai Accent

started in morning to warm up...warmed up and died...thought was the fuel pump...pulled hose off, fuel shoots out...i got spark on plugs...i'm thinking fuel relay switch but if pump works how could it be that....

Asked by for the 2005 Hyundai Accent
Has it not re-started after it died? Is this the first time this has happened? How many miles on vehicle? If the problem continues or it won't re-start, it will need to be checked out.