Wet ignition, failing ignition coil, sticking valve, bad wire, loose connection electrically, valve/rocker/pushrod problem.
How I would handle finding the problem with the limited information.
Compression check.
Spark plug analysis.
Fuel jar check (looking for water/debris).
Timing check.
Pull distributor cap and check for oil/water.
After that, it gets tougher.