Hi and welcome to HCM
If there is a sharp pain
on weight bearing then a bone injury
needs to be ruled out after a direct examination and X-ray. Tablets- diclofen-MR 100 mg after meals for 5 days.
Keep your leg and foot elevated for 15 minutes every few hours and do some movement of ankle and toes while sitting to prevent or lessen swelling which is common after ankle injuries nothing to worry, it would be okay by itself in couple of months.
I do hope that you have found something helpful and informative and I will be glad to answer any further query.