Hi
It is a
sprain most probably but if the symptoms persist for long time then to look for the possibility of ligament rupture or tear of the tendon.
You are doing the right thing .Icing for maximum 10 minutes at a time , and take
ibuprofen as per the pain recurrence and intensity . You can repeat ibuprofen after each 6-8 hours if you are in intolerable pain .
You can put some compression bandage over the ankle especially when you are at work, walking or moving around.
At rest and at night while in bed for sleep , you can keep your foot and ankle elevated on some pillow etc , it will help reduce the swelling and thus pain .
If you visit the doctor , he will examine you by looking at the swelling , he will examine by placing his hand over the swelling and ankle joint to see the severity of the tenderness and pain , and also see the range of movements at ankle joint.
He may advise Xray of the ankle or
MRI depending on the clincal examination findings and interpretations.
Thanks for posting on HCM
You are welcome to discuss it further if you feel so.