That is either a burn or bumble foot. Burns can occur when they get too close to a basking light for too long. Bumble foot comes from standing on the same sized branches constantly. I would start with first aid of triple antibiotic ointment or silvadene cream now. Then look into having him/her seen by a vet. Then readjust your cage as needed.