I'm assuming you mean a vehicle window.
Remove the arm rest and the door panel to get at the inner workings of the window. This is not an easy process and you should know what you're doing. I say, have a mechanic fix it. You should have your space bar fixed too :)