For bad burns I put a dishwasher tablet in water in the pan, bring to the boil and leave for a few hours. Then use a wooden spatula and stainless steel cleaner like bar keepers friend, hob brite, astonish stainless steel cream.
I have lots of experience 