On both sides of the window or door, trim the wrap close to the window or door flange. Secure the wrap to the flange with tape or caulk. Install side flashing over the wrap. Install head flashing and extend out 3-4 inch to each side.