#1. Change the points and condensors. If the bike's been sitting, they've deteriorated, and these symptoms are typical of that...
#2. Check the operation of the KILL switch on the handlebar. Sometimes, non-use makes these get a little corroded. Try operating it about 20 times back & forth and see if it helps (this wipes the contacts off a little). If it does, take the mount off the handlebars and put a drop of oil on the contacts and operate it some more to clean and lube things up.
#3. Check the wires that go to and from that same switch, inside the headlight. The little bullet connectors can get corroded from sitting, too, and cause similar problems.
#4. Under the gas tank, at the coils, there is one black wire that "splits" to the wo coils' black-white wire. Make sure those bullet connectors are clean, too. There's also a yellow one and blue one under there, check them, too.
That's the whole ignition circuit, except the yellow and blue wires where they connect to the engine (points plate) at the right rear of the engine. Check those for corrosion, too.
Then, you'll be an ignition expert!