Three things come to mind:
1) The cooling fins that keep the engine cool are blocked by debris and letting the mower run hot.
2) The coil is getting hot and breaking down causing it to not get spark to the engine.
3) There might be an exhaus leak near the carb causing the gas to vapor lock.
Try the owners manual. It should be about .030 of an inch. If the magneto gets weaker close the gap about .002 (or to .028) of an inch. Good Mowing.
It cuts the lawn/ grass when it gets long
Because Poo gets stuck in them
Remove the spark plug from the engine. Attach the wire to the spark plug. Let the spark plug come in contact with the engine block. Make sure the ignition is turned on. If you have a safety bar you will have to pull it into operating mode. Pull the starter rope you should see a spark.
If it back fires or it gets jammed up it may have shear the key on the shaft under the fly wheel that would put it out of time.
After sitting all winter, it could have water in the gas. Add some dry gas and fill with fresh fuel. If it's an older engine, the coil might quit working when it gets hot. Next time it stops running check to see if you still have spark at the plug.
it has a divided diaphragm inside and one side sucks gas from the gas tank and the other side sends gas to the carb. And I think the hose that goes to the decompression aparatis is where it gets its air/suction
The intake valve is not closed deep enough into the valve seat due to being too long and crankcase pressure is allowing some oil from the engine to be sucked up the valve guide into the combustion area and the 4 cycle process allows some of the oil to be pushed into the intake cycle and thus gets into the carburetor intake area and then into the exhaust system as the engine completes the cycle. Can also be caused by the mower turning over or when the engine oil level too high.
Usually these smaller engine dont use fuel filters. If there is one though it will be located on the hose that goes from under the gas tank before it gets to the carb. They come in various version. Usually they look like a disk looking thing with a hose going into it and another hose going from it to the carb. Just remove the hose clamps and replce it or blow it out. It depends on the type it is. Good luck.
If its a push lawn mower. It has no oil release. The mower burns the oil. All you do is replace the oil when it gets low.
Check spark after it shuts down.Might be your coil getting week after it gets hot.It could also be a spark plug.
Because it cuts cookies!