If the bike starts and runs normally when cold & then runs very badly after about 5 to 10 minutes of running, & when cold again will run OK & then repeat the issue, that points to a probable ignition sensor (a/k/a "pick-up coil") failure.