how long did it take you to learn how to ride a motorcycle?
You can get the basics in a few hours. You can probably get rid of the higher speed wobbles in a few hours on the road and the low speed wobbles in a few weeks of dedicated practice or a few months if you just wing it. Two or three days of a riding course is highly recommended.