The product matters, but the installation matters more. A premium window installed without proper flashing will leak just as surely as a cheap one. Ask how your contractor handles flashing, sill pans, and insulation around the frame.
For exterior doors, check that the threshold is adjusted for a tight seal and that the strike plate lines up with the latch. For interior doors, the jamb should be plumb so the door stays where you leave it.
Plan for trim. New doors and windows often need new casing, and getting it done as part of the same project makes the finished look much cleaner.
Finally, ask for a written scope that includes removal and disposal of old units. It avoids surprises on installation day.