Clean out the window track well using an all-purpose cleaner and old rags. Try an old toothbrush to thoroughly scrub out any debris building up on the track. Get rid of any dust, grime, insects, paint chips and dirt that may have built up and caused the window to stick.
Hold the candle over a heating vent or a hair dryer to warm it slightly. Rub the candle back and forth over the grooves of the sliding window. After one minute, the tracks should be coated with a light wax buildup. Open and close the window a few times to spread the wax along the track. Repeat a few times until the window is no longer sticking.
Apply WD-40 to the metal window track, using your finger to rub it up and down on the inside and outside. Put it on rather thick, then move the window back and forth to coat the inside grooves. The lubricant will allow the pieces to glide past each other rather than stick.
Push a utility knife carefully between the painted window frame and the window to break any paint seals that might be slowing the movement down. Run the blade back and forth between the two pieces several times to remove any paint buildup. Open and close the window several times to ensure all paint bonds are broken.