Glad you asked...
Generally there are only a few lock bolts on the inside of your car door that will allow you to remove the cover and put your window back on track.
Then again, this answer might help you...
To put your car window back on track you might trying pressing against it while operating the window motor. That is an indirect way that doesn't usually fix the problem long-term. The best way is to remove the door panel which is held in place with a few screws, then you can align it by hand, reattach the door panel, and you're good to go!

