I will assume the user knows to replace the spark plug regularly, to use fresh fuel, and to replace or clean the air filter.
With time and normal vibration, the screws that seal the crankcase from air leaks loosen just a little and air gets into the engine through leaks in the crankcase gaskets.
First check the mounting screws for the carburetor and tighten them. Then go to the screws that hold the cylinder head to the crankcase body and those that cover the end where the crankshaft comes out of the engine. See the yellow circles on this photo of a weed whacker engine. If any of these screws loosen as little as a quarter of a turn air begins to leak into the engine and the fuel/air mixture either is not pushed into the engine on the piston's downstroke or it becomes too lean for the engine to run by pulling in extra air during the piston's upstroke.
After about ten years of use, no amount of tightening on these screws will make a dead engine run. Chances are the gaskets have become hardened beyond their ability to seal the engine. Dismantle the engine completely and install new gaskets. You may not be able to buy the proper gaskets, but you can buy a sheet of gasket material. Use the old gaskets or the engine castings as a pattern to cut new gaskets. Your engine will run like new again.