What is wrong with a Chevy 305 if the motor turns over but doesn't start at times but other times it will start?

Check the carborator, fuel pump, fuel filter, fuel pickup tank unit. If all are ok then replace the coil and check test light for power with key on for power to hot side coil. If all else fails call your local garage for an appointment to your 305 cheby.