Are we talking rider or pusher here. The answer to your question can vary depending on what you are having problems with.
If pusher most likely ignition module failing when it gets hot, but could also be carb related. Maybe fuel cap not venting properly.
Rider could be fuel cap not venting, fuel shutoff solenoid failing when it gets hot, or igntion module failing when it gets hot.