Thanks for your question.
What happen is not responsible for your swollen ankle.
I doubt that if you do not remember any injury the swelling can be ascribe to a sprain.
As the pain and swelling have been persisting for 2 weeks other possible causes need to be
You need to have basic blood test done to rule out any inflammatory cause which may be responsible for the pain and swelling in your ankle.
This would include complete blood counts, erythrocytes sedimentation rate, C reactive protein, Rheumatoid factor and uric acid.
You should also have have colour Doppler of your leg to rule out any deep vein thrombosis
Further treatment can be decided after the results of these tests are known.
Feel free to ask any follow up questions.
Do take a moment to honor my work and time by rating my answer hopefully 5 stars.