To fix a loose car window, re-tighten the window clamp using a socket wrench. If the clamp doesn't hold the window tight enough, use polymer sealant to stick the clamp and the glass together. Allow the sealant to set completely before using the window mechanism.