Pull the spark plug out , and put the wire back on it, ground the plug to something metal, engine head, whatever, and crank it over, look for a spark at the electrode. Another way to check for spark is to take the plug out, put a small amount of gasoline down the plug hole, reinstall the plug and wire. Turn it over. If it cranks then dies. Fuel problem.
If nothing, no spark