A little bit more info is needed. First, is this your bike or one you just picked up?
If the motor is still in the frame, check your grounds. Verify power on the power side of the starter button. From there trace your harness to be sure all connectors are secured together. Lastly, your CDI...