I'd do a compression and leakdown test if it's a 4 stroke.

Otherwise look at plug, coil, charging system.