You need to figure out if you have a spark issue or a fuel issue. Coils develop internal cracks that open wider when hot and then the spark is shorted out. An inline spark tester is less than $10 and well worth it. But you can also test for spark by taking the plug out and reconnecting the ignition wire, then ground the electrode on the end of the plug to something metallic on the engine and have someone pull the starter cord. Look for a nice blue spark. If none, then you have either a bad plug or bad coil. Try it again with a known good plug to eliminate one cause. You need to do this when the engine is hot and won’t restart.
The other possible issue is your choke. Some engines like a little choke to restart, even when fully warmed up. If you have a manual choke, try closing it a little. If you have an autochoke, when the engine won’t restart take the air filter off and visually check to see if the choke is open or closed. If your autochoke is closing all the way, you’ll have difficulty restarting. If it is open all the way, you may need to close it a little. My Hondas have manual chokes, so can’t help with autochoke issues. I don’t know if they can be adjusted.