2008 Spectra sometimes wont start right way

Sometimes I can’t get my 2008 Kia to start for several minutes. It is a fuel issue. It works great at the dealership.