The old carpet is removed and the surface is processed with a leveling compound.
If the old coating is ceramic tiles, then it needs to be glued and well cleaned. After the floor, it is aligned with the compound, after its drying, the surface is wiped for complete alignment.