When I did mine I scubbed it with a mixture of fairy liquid and Mr muscle and then some Vanish stain remover.
When it dried, I opened it up on one side and took out all of the rotten foam inside. Applied lots of carpet contqact adhesive. I then stapled it back and "no more nails"'d it to the...