First I presume you have checked the fuel tank for water and dirt, next is to clean the carb, putting in new gaskets and diaphrams and the inlet fuel screen filter, check the tank filter to see if it is clean. Another source of trouble that will cause this problem is a clogged fuel cap vent, best way is to put on a new cap.