Help, my car won't get a spark

my car won't get a spark just bought a new coil cap rotor wires plugs and still nothing anyone have any idea for me to try