Never put oil or cream on burns. The tissue that is damaged during burns or scalds is very prone to infection.
If your pet’s skin has not been broken and is still intact after the burn, rinse the area with cold water for as long as you can, preferably 10-20 minutes.
However, if the burn has caused the skin to be removed, do not wash it under cold water, instead cover the area with a towel or dry cloth.