Thanks for posting your query.
From description it seems to be soft tissue injury
over ankle and foot.I suggest you to consult an orthopaedician nearby for a detailed examination. Beside icing and elevating it, you can take anti-inflammatory drug like motrin
to reduce pain and inflammation. Avoid putting weight and rest well.
Hope this will helps you. Feel free to ask me if you have any further queries.
Wish you good health. Take care.
Dr Saurabh Gupta.