It seems like a chronic non-healing ulcer. I suggest you to get a biopsy done to rule out couple of causes. Meanwhile you can keep the ulcer clean, elevate limb, do a simple betadine dressing and take a short course of antibiotics and anti-inflammatory medication. If possible kindly upload a picture of the ulcer.
Kindly make a personal consultation to me regarding the specific medication and surgical opinion.