Engine issues

well i changed the plugs tonight they were due i pulled off the cap and rotor and wires there was mosture in the cap so im thinking thats my issue once i change those out i'll have to see if that fixes the issue