At a guess and without more info I would look towards a) is the air filter clogged b)is the oil level correct and not too low causing overheating, c) could a feul blockage allow it to run until all the fuel in the carb is used and no fresh fuel gets through to keep it running. Just some possibles
regards
Gaz
Gaz
March 2010