Could be a lot of things. Start with the cheapest/easiest first. Change/ Clean air filter, change spark plugs. Also check that the plug behind the air cleaner that goes to the intake is clean and connected tightly.
The temperature sensor is also a suspect.
Honda's break too.
2010 FLTRX , Stage 1, 13" Madstad, Mono tubes, SuperShox, Heritage style bars. Alpine CDE-HD149BT,Soundstream Picasso Nano Series PN4.520 , 5X7 and 6.5 Infinity Kappa speakers
If I have to explain ,you wouldn't under stand anyway.