Typically, when looking for technical advice on a motorcycle it helps to know which motorcycle... Once that is know it will be easier to determine if your bike has an external alternator (Glodwings and Bandits etc), or an internal stator (just about everything else common) and how to help you troubleshoot.
Your charging system can be easily checked with a multimeter, if you think that is the issue.