The present invention relates to a pharmaceutical composition characterized in that said composition contains at least 4 wt% relative to the total weight of the composition of an active principle selected from among cetearyl octanoate and hexanoic acid, beeswax and optionally one or more pharmaceutically acceptable excipient(s), as well as to the use thereof for the treatment of cutaneous pre-burns or burns and for reducing pain following a thermal shock.