Measure the ceiling length between the first two ceiling studs or joists along one side, from end to end.
Stretch out your tape measure on the floor and lock it at the measurement you took. Roll out a length of insulation next to it.
Cut the insulation at the mark on the tape measure. Make the cut by laying a square across the width of the piece and running your utility knife alongside the square.
Press one end of the cut insulation into the space between the first two studs at one end of the ceiling (the peak end, if there's a peak). Position it with the paper-covered side of the insulation facing down into the room. Shoot two or three staples through each side edge of the piece and into the studs so the piece is hanging from staples.
Work your way along the whole length of the insulation piece with the staple gun, shooting two staples at a time through the sides and into the studs, every foot or so. Continue until the whole space between the studs is filled, end to end, with the piece.
Repeat the process to fill the spaces between each pair of studs along the ceiling (or the underside of the roof).