Question: how much time does it take to learn to ride a motorcycle?
Answer: 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. In the US, you can take the MSF course or the Rider's edge course.