There's probably a couple different possibilities. One could be a bad battery, regulator, stator, loose wiring connections. Do you have a multimeter? If so you can measure the output of the battery when trying to start the bike. If it's under 9 volts you might need a new battery.
Does the bike try to crank over? Or is there no noise to the ignition switch?