Should I still go to work if I have some ankle swelling?

It depend. What the cause for the swelling, sprain, ligament injury to the ankle, joint problems’. Is your standing or sitting down, if there pain in the ankle while stand on it. The best to consult your doctor. .
Swelling. If the swelling came on without injury, then see your family medicine doctor. If an injury occurred, see an ankle specialist to have it examined. These injuries are very common and have potential for long recovery periods if not properly treated.