How do you remove melted plastic from a cooking pan?

you put cold water in for an hour and it will come straight out

That will make it inedible.