Use a woodworking clamp to bring pieces together before nailing.