If the fuel tank still has old gasoline in it, siphon it all out and put in some fresh stuff, check the engine oil level (or change it if it's been a while), and then take it for a 30 minute ride.
Does the bike have a fuel programmer on it?
If so, check the settings against what works for riders on this forum.