We'll need more info. Links to the sales pages for everything you've bought may have info that will help us help you too. Pictures of labels on parts you don't have links to may help us find info that will help you.
Did it work correctly before replacing the controller?
Which specific controller did it have when it worked?
Was the throttle present before the controller change?
If so, did the throttle work before the controller change?
Which specific controller does it have now?
What was the specific reason for changing the controller?
Does the new controller support a throttle? (not all do)
Did the throttle work before using the self-learning wires?
What specific procedure, step by step, did you use for the self-learning wires?
What other ebike-parts are on the bike? (ebrakes, display, PAS (pedal) sensors, etc).