My 03 F150 won't start all the time

My 03 F150 turns over good but won't always start at first. Then after repeated attempts it will start and runs good. I changed the fuel filter a month ago and have had no problems until the last few days.