You have said it won't spark and then it will spark. You are confusing anyone trying to understand your situation.
To check for lack of fuel, open the throttle wide, and squirt some flammable into the intake, try to start. If it then starts, it is lacking fuel.
To check for spark, pull a plug wire, stuff in a spare plug, lay it on the cam cover or on the engine generally, attempt to start the engine. It should spark when cranking. If no spark, check the TFI on the distributor. New are $30 ballpark. Used are less.
You could also check for 12v on the coil terminals with the key turned to ON. Actually, the coil should spark each time you turn the key from ON to OFF.
Please use periods between 'sentences', or at least push the RETURN key as following the thought is harder for us dummies. Take some time, and re-read what you typed. You can make it more understandable and get better reaction & responses. IMO.
tom