Hard to tell from your explanation, but here are a few things you can try to narrow down the issue. First, if you have a voltmeter or access to one, Try charging the battery fully(or take it to autozone and have it tested). Check the voltage. If its a 12V battery, it should read 12.6 volts fully charged.
Next, once charged, start the engine and check the voltage accross the battery terminals. Autozone can also test this for you. Again, if 12V it should read above 13V if the alternator/gen is charging it. Else, you may have an alt/gen problem and you can start looking in that direction.
Also assure all your connections are clean and tight.
If the battery test good and the alt/gen test fine, then with the bike off, check to see if there is a battery drain. With your voltmeter, disconnect the negitive battery terminal, and put your voltmeter to read Ohms. Put one terminal on the battery negitive side of the battery, and the other on the battery cable that you just removed. If you have a significant reading, then you have something shorted or on draining the battery.
Update if you have any more info.
Good Luck.