The first layer on top of the plywood or OSB roof deck is underlayment ... Fold the tabs in with a hand seamer to meet a wall or a corner, or to close a gap created by the trim.