Thanks for posting your query
It seems that you might developed chronic osteomyelitis
of with discharging sinus
You need an x-ray to see the status of bone, culture and senstivity of this discharging pus.
So you have to visit your surgeon for exam and investigations as required to confirm the cause of it and treatment plan according to that.