Well usually its because your carb is sticking and causing throttle to stay open
there is a little screw on the back of the carb. if you loosen it, it will idle slower, tighten it, it will idle faster.
To bring the idle down on a Yamaha badger is really easy. All you have to do is adjust the fuel settings on the carburetor.
To set the idle, adjust the carburetor.
The Yamaha Raider does not have a idle adjustment based on the fact it has no carbs. It is fuel injected and auto adjusts based on the temperature and fuel delivery.
I like cats.....
On the side of the carb.
To adjust the carburetor on a Yamaha G16 golf cart, first locate the adjustment screws on the carburetor. Start by turning the idle mixture screw clockwise until it gently seats, then back it out about 1.5 turns. Next, adjust the idle speed screw to set the desired engine idle RPM, usually around 1,200-1,500 RPM. Finally, fine-tune the mixture and idle speed as necessary for optimal performance.
3 turns out..
Find the carburetor and then adjust the idle screw however you like. You'll need a Philips screwdriver.
clean the carbs
buy a can-am and it will fix the problem
Best place for these answers is xjbikes.com. Enjoy! missionaryjon