Ask questions and get answers from experienced industry professionals
I would recommend replacing the window.
sealing or adding any aftermarket seals would most likely sacrifice operation
Its sounds like you have a double hung window that slides up and down check to see if the outer top window can slide up then lock it. If the glass is sperating from the frame you can take it to a glass replacement company and they will fix the frame and glass if not vinyl welded