To run for a minute or so then quit is generally a fuel problem, either too much or not enough to run.
First, the basics, be sure there is enough fuel in the tank and the fuel valve is open. Try loosening the fuel cap, it may be holding a vacuum on the tank.
Check the spark. With the switch on, pull one of the plug wires, put a plastic handle screw driver in the end of the wire, hold it 1/4" from something metal on the engine, spin the starter. Should get a blue hot spark. If no spark, check the points. They may need to be cleaned or adjusted, or replaced if burned. Also look the cap over, look inside for water condensation, carbon tracking.
If that checks out, there is a drain plug on the bottom of the carb. Get a clean glass, remove the plug, catch what comes out. It should have a full flow, then slow to a trickle, but not to a drip or stop.
If the flow is slow or none at all, check the sediment bowl screen, there may be a screen in the carb inlet elbow. If it has been stored for a while the needle valve may be stuck. A light tap on the bowl may dislodge it, just be careful.
If you did get a fuel sample in the glass, look at what was caught. It should be clean. A few specks of grit is normal, but if cloudy or muddy, or excess rust and dirt came out, the same will be in the carb and tank. It may be time to go through the fuel system, clean the tank and the carb. I do not recommend inline filters, they are too restrictive.
A sign of too much fuel will show as fuel dripping from the carb. If you remove the air cleaner hose, and gas runs out, it is flooding, as in the needle valve is not closing fully. It can be because of a stuck float, bad needle valve, or trash in the needle valve. In severe cases the gas may have overflowed into the crankcase, especially if the fuel was left on while stored.
Other things to check, the air cleaner, be sure it has been serviced, check for rodent nests. Do a spark plug check, look for water beads, oil fouling, if in doubt, replace them.
Let us know...