Small Engine Troubleshooting Problems? Ask a Mechanic Now.
What is the engine model number?
When it stops, take a spare spark plug and attach it to the spark plug wire, and with the spark plug grounded, crank and look for spark.
If no spark, you need a new coil.
If it has spark, it is a fuel problem.