Check for a faulty on/off switch. Also check the points and condenser (they are under the flywheel). Check the wires for poor connections.
To remove the flywheel, remove the plastic flywheel screen and flywheel nut. Pull up on the flywheel while striking the opposite side with a soft hammer.
Jeff