It is highly advisable that you talk to your doctor or gym instructor before you purchase any weights. They have the knowledge and expertise to examine your needs and recommend a suitable weight professionally.
That said, you can also start with a small weight, for instance, 1 lb. And then advance systematically to the next weight that is most comfortable to use. Don’t start with very heavy weights as you risk hurting your ankle as well as your lower body muscles.