For a week had pain and swelling around inner ankle over and round to outer ankle. Hurts to walk and feels like a burning pain. Foot goes stiff at rest?

Need to be seen. you might have sprained your ankle, and could be torn ligament or something else, better see your doctor for evaluation, meanwhile try an Ace bandage on your ankle, to stabilize the joint, and pain killers, best wishes.