Car cranks but wont start unless press gas pedal

Yesterday I changed my spark plug and in-line fuel filter. It looks fine now (but only one day so far). It might be a clogged fuel filter.