Generally, it is advised to avoid using petroleum jelly, particularly when the burn has affected deeper layers of your skin. Since petroleum jelly is not sterile, there are high chances of it causing infections.