Spray the glass with a solution of half water and half white vinegar from a spray bottle to remove stains, dirt and discoloration from the glass. Strong cleaning solvents cause glass to look cloudy or blemished under certain circumstances, and white vinegar helps remove residues and restore the glass safely when used with a soft cloth.
Run a vacuum hose along the window track to remove obstructions that might be preventing the window from opening and closing smoothly. Wash out the track with a soft sponge and warm water and then dry it with a rag.
Lubricate the window track with oil if the window gets stuck in the track from excessive friction. This is a common problem as the window ages.
Run a razor blade or utility knife around the window frame between the sash and the window stop if the window is stuck and won't open. This is common after painting because dry paint acts as a glue that impedes a window's motion until a sharp object penetrates it. Wear protective gloves to prevent accidental cuts.
Dry out the window with a hair dryer if the frame is swollen from excessive humidity. This is common during summer months with warmer weather. Lightly tap the window's channel guides outward with a rubber mallet and a small wood block to open the channel so moisture escapes more efficiently.
Fill tiny holes or defects in the glass with clear nail polish. Add extra coats once the initial application dries until the repair is even with the glass. This often hides the defect and prevents it from spreading, saving you the cost of window replacement.
Apply masking tape on both sides of a deeper crack to help prevent the crack from spreading. This protects the window against breaking until you can replace the glass.