Measure the distance between the existing ceiling joists. Use that measurement to mark and cut a 2 inch by 4 inch board to fit snugly between the existing joists and behind the plastic box.
Use the hammer and nails to place the 2 inch X 4 inch board behind the box for support. Nail it securely on both ends to the existing ceiling joist. Avoid damaging any existing electrical wires during installation.
Use the screw driver and several screws to attach the plastic box to the wood piece behind it.
Attach the ceiling fan mounting bracket to the plastic box.
Attach the ceiling fan parts below the mounting bracket and make the wire connections as shown on the fan’s installation instructions provided by the manufacturer.