When you push on the throttle it dies.
You need to clean the carb. 90% of the time there is a piece of crud blocking a jet.
5% of the time it's a electrical problem.
5% of the time lil passages in the carb are plugged and the carb is no good.
Take the carb bowl off, remove both jets and the float/needle/seat and clean all well.
Make sure all the lil holes are open especially in the pilot jet.
You may even have to boil the carb to open the passages up.
If it still does not run correct, jump in and tell us what it's doing. We'll help!