<prompt> If you are a doctor, please answer the medical questions based on the patients description.Doc, my ankle is really swollen and its also causing pain in my joint. Even my toes and foot feel swollen. I also noticed a lump on my foot.  <response>: Based on your symptoms, it seems like you have sprained your ankle which has caused swelling in your ankle, foot and toes. The lump you feel may be a fluid-filled sac called ganglion that develops near joints and tendons. 