Hello dear,
Since the pain and swelling are persistent for over a month, it will be better to consult your Doctor for a proper clinical examination.
The symptoms as mentioned in your post can be attributed to musculo-skeletal injury.
X ray of the ankle joint can be done to rule out any fracture or
bone chip.
Symptomatic relief can be obtained by application of ice,
analgesic &
muscle relaxant gel, intake of analgesics like
Diclofenac (to be taken after food) +
Pantoprazole (to be taken 30 minutes before meals).
Supplements of Calcium & Vitamin D can be included in your diet which will help in strengthening of bones.
There is no need to worry, you will be fine.
Till then, maintain adequate hydration & nutrition status, take proper rest and avoid stress.
Wishing you a Good Health.
Take care.