How can I repair leaky windows/doors?
You should make sure the door and the window are caulked all the way around the trim.

Sometimes painters neglect to caulk the tops of windows which eventually leads to leaks.