Run the blade of a utility knife between the sash and the side casing on the inside of the exterior window frame to break a paint seal that is causing the window to jam.
Blow hot air around the edge of the window sash to reduce the humidity that has caused the window to swell and jam. Try to move the window. If it unjams, lubricate the groove in which the sash travels by placing the flat end of a candle along the groove. Then use medium pressure to rub wax onto the groove.
Place a small block of wood flat against the inside of the grooves where the sash travels. Lightly tap on that block of wood with a mallet to force the grooves outward and unjam the window.