Putty is squeezed out

You can carry out the work with a wide knife or spatula in the place where the glass is connected to the frame. After that, the glass needs to be inserted into place and pressed so that the excess putty is squeezed out, and between the frame and glass, only its minimum layer remains.