Hard start

My 2001 blazer takes about 3 tries to start up after the 3rd try it will start right up. Sometimes when I pull up to a stop sign or stoplight it will die. Any thoughts would help out alot.

Please check fuel pressure and if you need to replace the fuel filter.

Checked the pressure it was good and I changed the fuel filter. Problem is still there