I am sorry to hear that you not pain free even after all these days. Since there was a lump, please get the pain investigated in relation to the lump. A lump at the ankle can be due to a cyst, a hematoma, localized collection of fluid, a varicose vein causing venous pooling, an ulcer due to friction from foot wear, arthritis or due to infection (boil). It can also be a lipoma or a neurofibromas (collection of nerves and fibrous tissue). First consult an orthopedic specialist and get CT scan of the ankle. This will give a clear picture regarding the swelling. Since it is painful it can be an infected cyst, a boil, a neurofibroma, varicose vein, or an ulcer due to friction. If it is a varicose vein, you may eed doplar study for confirmed diagnosis. You can take an anti-inflammatory pain killer. However, you need to consult a doctor (ortho specialist/sports injury specialist). Hope this helps. Take care!
The medical advice given should not be considered a substitute for medical care provided by a doctor who can examine you. The advice may not be completely correct for you as the doctor cannot examine you and does not know your complete medical history. Hence this reply to your post should only be considered as a guiding line and you must consult your doctor at the earliest for your medical problem.