Firstly, use special fireplace glass cleaners. These products effectively remove soot and residues. Spray the glass with the cleaner, leave it for a few minutes, and then wipe it with a clean cloth.