2004 Hyundai Santa Fe

Will start and idle but has a miss will run for a while but it dies and will not restart can’t press the throttle it dies why please help