Some things to check. Do you have spark, may be a coil going bad. Do you have fuel getting to the cylinders, may be a bab fuel pump or dirty carb. Do you have compression, may be a bad valve or valve adjustment. Before doing any service work, check each of these.